The Book of the Prohibited actions

Hadith 1511–1807

كتاب الأمور المنهي عنها

Chapter 305Prohibition of Drawing Portraits

- باب تحريم تصوير الحيوان في بساط أو حجر أو ثوب أو درهم أو مخدة أو دينار أو وسادة وغير ذلك وتحريم اتخاذ الصور في حائط وسقف وستر وعمامة وثوب ونحوها والأمر بإتلاف الصورة

1686Riyad as-Salihin 1686
- وعن عائشة رضي الله عنها قالت‏:‏ واعد رسول الله صلى الله عليه وسلم جبريل عليه السلام في ساعة أن يأتيه، فجاءت تلك الساعة ولم يأته‏!‏ قالت‏:‏ وكان بيده عصًا، فطرحها من يده وهو يقول‏:‏ ‏"‏ما يخلف الله وعده ولا رسله‏"‏ ثم التفت، فإذا جرو كلب تحت سريره‏.‏ فقال‏:‏ ‏"‏متى دخل هذا الكلب‏؟‏‏"‏ فقلت‏:‏ والله ما دريت به، فأمر به فأخرج، فجاءه جبريل عليه السلام‏:‏ فقال رسول الله صلى الله عليه وسلم ‏:‏ ‏"‏وعدتني، فجلست لك ولم تأتني‏"‏ فقال‏:‏ منعني الكلب الذي كان في بيتك، إنا لا ندخل بيتًا فيه كلب ولا صورة‏"‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

'Aishah (May Allah be pleased with her) said: Jibril (Gabriel) (PBUH) made a promise with the Messenger of Allah (PBUH) to come at a definite hour; that hour came but he did not visit him. There was a staff in the hand of the Messenger of Allah (PBUH). He threw it from his hand and said, "Never does Allah back out of His Promise, nor do His messengers." Then he noticed a puppy under his bed and said, "O 'Aishah, when did this dog enter?" She said: "By Allah, I don't know." He then commanded that it should be turned out. No sooner than had they expelled it, Jibril came and the Messenger of Allah (PBUH) said to him, "You promised to visit me. I waited for you but you did not come." Whereupon he said: "The dog kept me from coming. We do not enter a house in which there is a dog or a picture."

[Muslim].

Reference:
Riyad as-Salihin 1686
In-book reference:
Book 17, Hadith 176
1687Riyad as-Salihin 1687
- وعن أبي الهياج حيان بن حصين قال‏:‏ قال لي علي بن أبي طالب رضي الله عنه‏:‏ ألا أبعثك على ما بعثني عليه رسول الله صلى الله عليه وسلم ‏؟‏ أن لا تدع صورة إلا طمستها، ولا قبرًا مشرفًا إلا سويته‏.‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

Abul-Haiyaj Haiyan bin Husain said: 'Ali bin Abu Talib (May Allah be pleased with him) said to me: "Shall I not send you to do a task that the Messenger of Allah (PBUH) had assigned to me? Spare no portrait unwiped out, and leave not a high grave unlevelled."

[Muslim].

Reference:
Riyad as-Salihin 1687
In-book reference:
Book 17, Hadith 177

Chapter 306Prohibition of Keeping a Dog except as a Watchdog or Hunting

- باب تحريم اتخاذ الكلب إلا لصيد أو ماشية أو زرع

1688Riyad as-Salihin 1688
- عن ابن عمر رضي الله عنهما قال سمعت رسول الله صلى الله عليه وسلم يقول‏:‏ ‏"‏من اقتنى كلبًا إلا كلب صيد أو ماشية فإنه ينقص فإنه ينقص من أجره كل يوم قيراطان‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏

وفي رواية‏:‏ ‏ ‏قيراط‏‏‏.‏

Ibn 'Umar (May Allah be pleased with them) said: The Messenger of Allah (PBUH) said, "He who keeps a dog other than one for guarding the fields or herds or hunting, will lose two Qirat every day out of his rewards."

[Al-Bukhari and Muslim].

Reference:
Riyad as-Salihin 1688
In-book reference:
Book 17, Hadith 178
1689Riyad as-Salihin 1689
- وعن أبي هريرة رضي الله عنه قال‏:‏ قال رسول الله صلى الله عليه وسلم ‏:‏ ‏"‏من أمسك كلبًا فإنه ينقص كل يوم من عمله قيراط إلا كلب حرث أو ماشية‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏

وفي رواية لمسلم‏:‏ ‏"‏من اقتنى كلبًا ليس بكلب صيد، ولا ماشية ولا أرض، فإنه ينقص من أجره قيراطان كل يوم‏"‏‏.‏

Abu Hurairah (May Allah be pleased with him) said: The Messenger of Allah (PBUH) said, "He who keeps a dog, will lose out of his good deeds equal to one Qirat every day, except one who keeps it for guarding the fields or the herd."

[Al-Bukhari and Muslim].

In a narration of Muslim, the Messenger of Allah (PBUH) is reported to have said: "He who keeps a dog for any reason other than to guard his property (lands) or his flock of sheep, his good deeds equal to two Qirat will be deducted every day."

Reference:
Riyad as-Salihin 1689
In-book reference:
Book 17, Hadith 179

Chapter 307Undesirability of Hanging Bells round the Necks of Animals

- باب كراهة تعليق الجرس في البعير وغيره من الدواب وكراهية استصحاب الكلب والجرس في السفر

1690Riyad as-Salihin 1690
- وعن أبي هريرة رضي الله عنه قال‏:‏ قال رسول الله صلى الله عليه وسلم ‏:‏ ‏"‏لا تصحب الملائكة رفقة كلب أو جرس‏"‏‏.‏ ((رواه مسلم))

Abu Hurairah (May Allah be pleased with him) said: The Messenger of Allah (PBUH) said, "Angels do not accompany the travellers who have with them a dog or a bell."

[Muslim].

Reference:
Riyad as-Salihin 1690
In-book reference:
Book 17, Hadith 180
1691Riyad as-Salihin 1691
- وعنه أن النبي صلى الله عليه وسلم قال‏:‏ ‏"‏الجرس مزامير الشيطان‏"‏‏.‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏

Abu Hurairah (May Allah be pleased with him) said: The Prophet (PBUH) said, "The bell is one of the musical instruments of Satan."

[Muslim].

Reference:
Riyad as-Salihin 1691
In-book reference:
Book 17, Hadith 181

Chapter 308Undesirability of Riding a Camel which eats Animals' waste

- باب كراهة ركوب الجلالة وهي البعير أو الناقة التي تأكل العذرة فإن أكلت علفًا طاهرًا فطاب لحمها زالت الكراهة

1692Riyad as-Salihin 1692
- عن ابن عمر رضي الله عنهما قال‏:‏ نهى رسول الله صلى الله عليه وسلم عن الجلالة في الإبل أن يركب عليها‏.‏ ((رواه أبو داود بإسناد صحيح ))

Ibn 'Umar (May Allah be pleased with them) said: The Messenger of Allah (PBUH) prohibited riding a camel which eats dung, or animal or human waste.

[Abu Dawud].

Reference:
Riyad as-Salihin 1692
In-book reference:
Book 17, Hadith 182

Chapter 309Prohibition of Spitting in the Mosque

- باب النهي عن البصاق في المسجد والأمر بإزالته منه إذا وجد فيه، والأمر بتنزيه المسجد عن الأقذار

1693Riyad as-Salihin 1693
- عن أنس رضي الله عنه أن رسول الله صلى الله عليه وسلم ‏:‏ ‏"‏البصاق في المسجد خطيئة، وكفارتها دفنها‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏ والمرادُ بِدَفْنِهَا إذَا كَانَ المَسْجِدُ تُرَابًا أوْ رَمْلًا ونَحْوَهُ فَيُوَارِيهَا تَحْتَ تُرَابِهِ. قالَ أبُو المحاسِنِ الرُّويَانِي مِنْ أصحابِنا في كِتَابِهِ (البحر) وقِيلَ: المُرَادُ بِدَفْنِهَا إخْراجُهَا مِنَ المَسْجِدِ، أمَّا إِذَا كَانَ المَسْجِدُ مُبَلَّطًا أَوْ مُجَصَّصًا، فَدَلَكَهَا عَلَيْهِ بِمَدَاسِهِ أَوْ بِغَيْرِهِ كَمَا يَفْعَلُهُ كَثيرٌ مِنَ الجُهَّالِ، فَلَيْسَ ذَلِكَ بِدَفْنٍ، بَلْ زِيَادَةٌ فِي الخَطِيئَةِ وَتَكْثِيرٌ لِلقَذَرِ في المَسْجِدِ، وَعَلَى مَنْ فَعَلَ ذَلِكَ أنْ يَمْسَحَهُ بَعْدَ ذَلِكَ بِثَوْبِهِ أَوْ بِيَدِهِ أَوْ غَيرِهِ أَوْ يَغْسِلَهُ.

Anas bin Malik (May Allah be pleased with him) said: The Messenger of Allah (PBUH) said, "Spitting in the mosque is a sin, and its expiation is that the spittle should be buried in earth."

[Al-Bukhari and Muslim].

Reference:
Riyad as-Salihin 1693
In-book reference:
Book 17, Hadith 183
1694Riyad as-Salihin 1694
- وعن عائشة رضي الله عنها أن رسول الله صلى الله عليه وسلم رأى في جدار القبلة مخاطا أو بزاقا أو نخامة فحكه ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏

'Aishah (May Allah be pleased with her) said: The Messenger of Allah (PBUH) saw spittle or snot or sputum, sticking to the wall towards Qiblah and scratched it off.

[Al-Bukhari and Muslim].

Reference:
Riyad as-Salihin 1694
In-book reference:
Book 17, Hadith 184
1695Riyad as-Salihin 1695
- وعن أنس رضي الله عنه أن رسول الله صلى الله عليه وسلم قال‏:‏ ‏"‏إن هذه المساجد لا تصلح لشيء من البول ولا القذر، إنما هي لذكر الله تعالى، وقراءة القرآن‏"‏ أو كما قال رسول الله صلى الله عليه وسلم ‏.‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

Anas (May Allah be pleased with him) said: The Messenger of Allah (PBUH) said, "It is not proper to use the mosque for urinating or easing oneself. They are merely built for the remembrance of Allah and the recitation of the Qur'an", or as he stated.

[Muslim].

Reference:
Riyad as-Salihin 1695
In-book reference:
Book 17, Hadith 185

Chapter 310Undesirability of Quarrelling or Raising voices in the Mosque

- باب كراهة الخصومة في المسجد ورفع الصوت فيه ونشد الضالة والبيع والشراء والإجارة ونحوها من المعاملات

1696Riyad as-Salihin 1696
- عن أبي هريرة رضي الله عنه أنه سمع رسول الله صلى الله عليه وسلم يقول‏:‏ ‏"‏من سمع رجلا ينشد ضالة في المسجد فليقل‏:‏ لا ردها الله عليك، فإن المساجد لم تبنَ لهذا‏"‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

Abu Hurairah (May Allah be pleased with him) said: The Messenger of Allah (PBUH) said, "If anyone hears a man inquiring in the mosque about something he has lost, he should say: 'La raddaha Allahu 'alaika (May Allah not restore it to you),' for mosques are not built for this purpose."

[Muslim]

Reference:
Riyad as-Salihin 1696
In-book reference:
Book 17, Hadith 186
1697Riyad as-Salihin 1697
- وعنه أن رسول الله صلى الله عليه وسلم قال‏:‏ ‏"‏إذا رأيتم من يبيع أو يبتاع في المسجد، فقولوا‏:‏ لا أربح الله تجارتك، وإذا رأيتم من ينشد ضالة فقولوا‏:‏ لا ردها الله عليك‏"‏‏.‏ رواه الترمذي، وقال: (حَدِيثٌ حَسَنٌ).

Abu Hurairah (May Allah be pleased with him) said: The Messenger of Allah said, "When you see someone buying or selling in the mosque, say to him: 'La arbaha-Allahu tijarataka (May Allah not make your bargain profitable)!' When you see someone announcing something lost in it, say: 'May Allah not restore it to you!"'

[At-Tirmidhi].

Reference:
Riyad as-Salihin 1697
In-book reference:
Book 17, Hadith 187
1698Riyad as-Salihin 1698
- وعن بريدة رضي الله عنه أن رجلا نشد في المسجد فقال‏:‏ من دعا إلى الجمل الأحمر، فقال رسول الله صلى الله عليه وسلم ‏:‏ ‏"‏لا وجدت، إنما بنيت المساجد لم بنيت له‏"‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

Buraidah (May Allah be pleased with him) said: A man announced (the loss of his camel) in the mosque, uttering these words: "Has any one seen my red camel?" Upon this the Messenger of Allah (PBUH) said, "May it not be restored to you! The mosques are built for what they are meant to be (i.e., prayer, remembrance of Allah, acquiring knowledge, etc.)."

[Muslim].

Reference:
Riyad as-Salihin 1698
In-book reference:
Book 17, Hadith 188
1699Riyad as-Salihin 1699
- وعن عمرو بن شعيب، عن أبيه، عن جده رضي الله عنه أن رسول الله صلى الله عليه وسلم نهى عن الشراء والبيع في المسجد، وأن تنشد فيه ضالة، أو ينشد فيه شعر‏.‏ ‏(‏‏(‏رواه أبو داود، والترمذي وقال حديث حسن‏)‏‏)‏

'Amr bin Shu'aib on the authority of his grandfather (May Allah be pleased with him) said: The Messenger of Allah (PBUH) prohibited (us) from buying and selling in the mosque; (he also prohibited us from) making announcement in it about something lost and from reciting poems in it.

[Abu Dawud and At- Tirmidhi].

Reference:
Riyad as-Salihin 1699
In-book reference:
Book 17, Hadith 189
1700Riyad as-Salihin 1700
- وعن السائب بن زيد الصحابي رضي الله عنه قال‏:‏ كنت في المسجد فحصبني رجل، فنظرت فإذا عمر بن الخطاب رضي الله عنه فقال‏:‏ اذهب فائتني بهذين، فجئته بهما، فقال‏:‏ من أين أنتما‏؟‏ فقالا‏:‏ من أهل الطائف، فقال‏:‏ لو كنتما من أهل البلد، لأوجعتكما، ترفعان أصواتكما في مسجد رسول الله صلى الله عليه وسلم ‏!‏ ‏(‏‏(‏رواه البخاري‏)‏‏)‏‏.‏

As-Sa'ib bin Yazid (May Allah be pleased with him) said: While I was in the mosque, someone threw a pebble at me, and when I looked up, I saw that it was 'Umar bin Al-Khattab, who said: "Go and call me these two men." I brought them and 'Umar (May Allah be pleased with him) asked them: "Where are you from?" On their replying that they belonged to At-Taif, he said: "Had you been the inhabitants of Al-Madinah, I would have given you a beating for raising your voices in the mosque of the Messenger of Allah (PBUH)."

[Al- Bukhari].

Reference:
Riyad as-Salihin 1700
In-book reference:
Book 17, Hadith 190

Chapter 311Undesirability of Entering the Mosque after Eating raw Onion or Garlic

- باب النهي من أكل ثومًا أو بصلا أو كراثًا أو غيره مما له رائحة كريهة عن دخول المسجد قبل زوال رائحته إلا لضرورة

1701Riyad as-Salihin 1701
- عن ابن عمر رضي الله عنه أن النبي صلى الله عليه وسلم قال‏:‏ ‏"‏من أكل من هذه الشجرة -يعني الثوم- فلا يقربن مسجدنا‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏ وفي رواية لمسلم‏:‏ ‏"‏مساجدنا‏"‏‏.‏

Ibn 'Umar (May Allah be pleased with them) said: The Prophet (PBUH) said, "He who has eaten garlic should not come to our mosque."

[Al-Bukhari and Muslim].

The narration in Muslim is: "He who has eaten garlic should not come to our mosques."

Reference:
Riyad as-Salihin 1701
In-book reference:
Book 17, Hadith 191
1702Riyad as-Salihin 1702
- وعن أنس رضي الله عنه قال‏:‏ قال النبي صلى الله عليه وسلم ‏:‏ ‏"‏من أكل من هذه الشجرة، فلا يقربنا، ولا يصلين معنا‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏

Anas (May Allah be pleased with him) said: The Prophet (PBUH) said, "He who has eaten from this plant (i.e., garlic) should not approach us and should not offer Salat (prayer) along with us."

[Al- Bukhari and Muslim].

Reference:
Riyad as-Salihin 1702
In-book reference:
Book 17, Hadith 192
1703Riyad as-Salihin 1703
- وعن جابر رضي الله عنه قال‏:‏ قال النبي صلى الله عليه وسلم ‏:‏ ‏"‏من أكل ثومًا أو بصلا فليعتزلنا، أو فليعتزل مسجدنا‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏

وفي رواية لمسلم‏:‏ ‏"‏من أكل البصل، والثوم، الكراث، فلا يقربن مسجدنا، فإن الملائكة تتأذى مما يتأذى منه بنو آدم‏"‏‏.‏

Jabir (May Allah be pleased with him) said: The Prophet (PBUH) said, "He who has eaten garlic or onion should keep away from us or our mosques."

[Al-Bukhari and Muslim].

The narration in Muslim is: "He who has eaten onion or garlic or leek should not approach our mosque, because the angels are also offended by the strong smells) that offend the children of Adam."

[Muslim].

Reference:
Riyad as-Salihin 1703
In-book reference:
Book 17, Hadith 193
1704Riyad as-Salihin 1704
- وعن عمر بن الخطاب رضي الله عنه أنه خطب يوم الجمعة فقال في خطبته‏:‏ ثم إنكم أيها الناس تأكلون شجرتين ما أراهما إلا خبيثتين‏:‏ البصل، والثوم -لقد رأيت رسول الله صلى الله عليه وسلم إذا وجد ريحهما من الرجل في المسجد أمر به، فأخرج إلى البقيع، فمن أكلهما، فليمتهما طبخًا‏.‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

It has been narrated that 'Umar (May Allah be pleased with him) said in the sermon of Friday prayer: "O you people! You eat garlic and onion. I think the odour of these to be very offensive. I saw that if the Messenger of Allah (PBUH) happened to find a man with such offensive odour in the mosque, he would order him to be taken out of the mosque and sent to Al-Baqi'. He who wants to eat any of these, should cook them till their odour dies out.

[Muslim].

Reference:
Riyad as-Salihin 1704
In-book reference:
Book 17, Hadith 194

Chapter 312Undesirability of Sitting with Erected Legs during Friday Sermon

- باب كراهة الاحتباء يوم الجمعة والإمام يخطب لأنه يجلب النوم فيفوت استماع الخطبة ويخاف انتقاض الوضوء

1705Riyad as-Salihin 1705
- عن معاذ بن أنس الجهني، رضي الله عنه، أن النبي صلى الله عليه وسلم نهى عن الحبوة يوم الجمعة والإمام يخطب ‏(‏‏(‏رواه أبو داود والترمذي وقالا‏:‏ حديث حسن‏)‏‏)‏

Mu'adh bin Anas Al-Juhani (May Allah be pleased with him) said: The Prophet (PBUH) forbade (us) from sitting with our legs drawn up to our belly (Ihtiba') during the Friday Khutbah (religious talk before the prayer).

[Abu Dawud and At-Tirmidhi].

Reference:
Riyad as-Salihin 1705
In-book reference:
Book 17, Hadith 195

Chapter 313Prohibition of having a Hair cut or paring one's nail during the first ten days of Dhul-Hijjah for one who intends to Sacrifice an Animal

- باب نهي من دخل عليه عشر ذي الحجة وأراد أن يضحي عن أخذ شيء من شعره أو أظفاره حتى يضحي

1706Riyad as-Salihin 1706
- عن أم سلمة رضي الله عنها قالت قال رسول الله صلى الله عليه وسلم ‏:‏ ‏"‏من كان له ذبح يذبحه، فإذا أهل هلال ذي الحجة، فلا يأخذن من شعره ولا من أظفاره شيئًا حتى يضحي‏"‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

Umm Salamah (May Allah be pleased with her) said: The Messenger of Allah (PBUH) said, "When anyone of you intends to sacrifice the animal and enter in the month of Dhul-Hijjah, he should not get his hair cut or nails pared till he has offered his sacrifice."

[Muslim].

Reference:
Riyad as-Salihin 1706
In-book reference:
Book 17, Hadith 196

Chapter 314Prohibition of Swearing in the name of anything besides Allah

- باب النهي عن الحلف بمخلوق كالنبي والكعبة والملائكة والسماء والآباء والحياة والروح والرأس ونعمة السلطان وتربة فلان والأمانة، وهي من أشدها نهيًا

1707Riyad as-Salihin 1707
- عن ابن عمر، رضي الله عنهما، عن النبي صلى الله عليه وسلم ، قال‏:‏ ‏"‏إن الله تعالى ينهاكم أن تحلفوا بآبائكم، فمن كان حالفًا، فليحلف بالله، أو ليصمت‏"‏ ‏(‏‏(‏متفق عليه‏)‏‏)‏‏.‏

وفي رواية في الصحيح ‏"‏فمن كان حالفًا فلا يحلف إلا بالله أو ليسكت‏"‏‏.‏

Ibn 'Umar (May Allah be pleased with them) said: The Prophet (PBUH) said, "Allah has prohibited you from taking an oath by your fathers. He who must take an oath, may do so by swearing in the Name of Allah or he should remain silent."

[Al-Bukhari and Muslim].

Reference:
Riyad as-Salihin 1707
In-book reference:
Book 17, Hadith 197
1708Riyad as-Salihin 1708
- وعن عبد الرحمن بن سَمُرَة، رضي الله عنه قال‏:‏ قال رسول الله صلى الله عليه وسلم ‏:‏ ‏"‏لا تحلفوا بالطواغي، ولا بآبائكم‏"‏‏.‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

‏"‏الطواغي‏"‏‏:‏ جمع طاغية، وهي الأصنام، ومنه الحديث‏:‏ ‏"‏هذه طاغية دوس‏"‏‏:‏ أي‏:‏ صنمهم ومعبودهم، وروي في غير مسلم‏:‏ ‏"‏بالطواغيت‏"‏ جمع طاغوت، وهو الشيطان والصنم‏.‏

'Abdur-Rahman bin Samurah (May Allah be pleased with him) said: The Messenger of Allah (PBUH) said, "Swear neither by the name of Taghut (i.e., false deities, false leaders, etc.) nor by your fathers."

[Muslim].

Reference:
Riyad as-Salihin 1708
In-book reference:
Book 17, Hadith 198
1709Riyad as-Salihin 1709
- وعن بريدة رضي الله عنه أن رسول الله صلى الله عليه وسلم قال‏:‏ ‏"‏من حلف بالأمانة، فليس منا‏"‏‏.‏ ‏(‏‏(‏حديث صحيح رواه أبو داود بإسناد صحيح‏)‏‏)‏

Buraidah (May Allah be pleased with him) said: The Messenger of Allah (PBUH) said, "He who swears by Amanah (trust) is not one of us."

[Abu Dawud with authentic Isnad].

Reference:
Riyad as-Salihin 1709
In-book reference:
Book 17, Hadith 199
1710Riyad as-Salihin 1710
- وعنه قال‏:‏ قال رسول الله صلى الله عليه وسلم ‏:‏ ‏"‏من حلف فقال‏:‏ إني بريء من الإسلام، فإن كان كاذبًا، فهو كما قال، وإن كان صادقًا، فلن يرجع إلى الإسلام سالمًا‏"‏‏.‏ ‏(‏‏(‏رواه أبو داود‏)‏‏)‏

Buraidah (May Allah be pleased with him) reported: The Messenger of Allah (PBUH) said, "If anyone swears that in such and such case he will be free from Islam and afterwards he turns out to be a liar, he will be as he has sworn; but if he is speaking the truth, he will not revert safely to Islam."

[Abu Dawud].

Reference:
Riyad as-Salihin 1710
In-book reference:
Book 17, Hadith 200

Text, translation and grading from Sunnah.com.