That the Messenger of Allah (ﷺ) said: "Whoever swears by a religion other than Islam while lying, then he is as he said."
Jami` at-Tirmidhi Book 20, Hadith 22