It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever swears an oath (of disbelief about himself in some matter), he will be as he said: if he said, 'I am a Jew', then he is a Jew; if he said, 'I am a Christian', then he is a Christian; and if he said, 'I am a Magian', then he is a Magian."
Hadith Referenceمسند أبي يعلى الموصلي / مسند أبي هريرة رضي الله عنه / 6006
Hadith Gradingمحدثین:إسناده ضعيف جدا
Hadith Takhrij«حکم الحدیث مسند ابی یعلی محققاً تنسیق حسين سليم أسد - مکتبہ شاملہ :قال حسين سليم أسد: إسناده ضعيف جدا . » «قال سعيد بن محمد السناري: منكر» «أخرجه الحاكم [4/ 331]، وابن حبان في "المجروحين" [2/ 186، مسند ابویعلیٰ ترقیم الاثری: 5980»