Hadith

Sunan Ibn Majah #507

The Book On The Mosques And The Congregations· كتاب المساجد والجماعاتsunan_ibn_majah:507

حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا أَبُو بَكْرٍ الْحَنَفِيُّ، حَدَّثَنَا الضَّحَّاكُ بْنُ عُثْمَانَ، حَدَّثَنِي سَعِيدٌ الْمَقْبُرِيُّ، عَنْ أَبِي هُرَيْرَةَ، أَنَّ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ قَالَ ‏ "‏ إِذَا دَخَلَ أَحَدُكُمُ الْمَسْجِدَ فَلْيُسَلِّمْ عَلَى النَّبِيِّ ـ صلى الله عليه وسلم ـ وَلْيَقُلِ اللَّهُمَّ افْتَحْ لِي أَبْوَابَ رَحْمَتِكَ وَإِذَا خَرَجَ فَلْيُسَلِّمْ عَلَى النَّبِيِّ وَلْيَقُلِ اللَّهُمَّ اعْصِمْنِي مِنَ الشَّيْطَانِ الرَّجِيمِ ‏"‏ ‏.‏

The Mesenger of Allah said: "When anyone of enters the mosque, let him send peace upon the Prophet, then let him say: 'Allahumma aftahli abwaba rahmatik (O Allah, open to me the gates of Your mercy).' And when he leaves, let him send peace upon the Prophet and say: 'Allahumma- simni minash-shaitanir-rajim (O Allah, protect me from the accursed Shaitan).'"

Chain 1·6 narrators
5

محمد بن عبد الله

Narratorprophet
Transmitted via أن
narrated to
4

أبي هريرة

Sahabithiqa
Transmitted via عن
narrated to
3

سعيد المقبري

Gen 4thiqa
Transmitted via حدثني
narrated to
2
al-Dhahhak ibn ‘Uthman

الضحاك بن عثمان

Taba Tabi'inthiqa
Transmitted via حدثنا
narrated to
1
Abū Bakr al-Ḥanafī

أبو بكر الحنفي

Taba Tabi'inunknown
Transmitted via حدثنا
narrated to
0

محمد بن بشار

Taba Tabi'inthiqa
Transmitted via حدثنا
Legend: Sahabi Tabi'i Taba Tabi'in Later
Hadith text and chains are sourced from publicly available compilations. PeaceSIM’s rijal engine cross-links each narrator to its biographical profile where available.