Sunan Ibn Majah
The Book On The Mosques And The Congregations — Hadith #505
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا إِسْمَاعِيلُ بْنُ إِبْرَاهِيمَ، وَأَبُو مُعَاوِيَةَ عَنْ لَيْثٍ، عَنْ عَبْدِ اللَّهِ بْنِ الْحَسَنِ، عَنْ أُمِّهِ، عَنْ فَاطِمَةَ بِنْتِ رَسُولِ اللَّهِ، ـ صلى الله عليه وسلم ـ قَالَتْ كَانَ رَسُولُ اللَّهِ ـ صلى الله عليه وسلم ـ إِذَا دَخَلَ الْمَسْجِدَ يَقُولُ " بِسْمِ اللَّهِ وَالسَّلاَمُ عَلَى رَسُولِ اللَّهِ اللَّهُمَّ اغْفِرْ لِي ذُنُوبِي وَافْتَحْ لِي أَبْوَابَ رَحْمَتِكَ " . وَإِذَا خَرَجَ قَالَ " بِسْمِ اللَّهِ وَالسَّلاَمُ عَلَى رَسُولِ اللَّهِ اللَّهُمَّ اغْفِرْ لِي ذُنُوبِي وَافْتَحْ لِي أَبْوَابَ فَضْلِكَ " .
“Whenever the Messenger of Allah entered the mosque he would say: ‘Bismillah, was-salamu ‘ala Rasulillah, Allahummagh-firli dhunubi waftah li abwaba rahmatika. (In the Name of Allah, and peace be upon the Messenger of Allah. O Allah, forgive me my sins and open to me the gates of Your mercy).’ When he left he would say: ‘Bismillah, was-salamu ‘ala Rasulillah, Allahummagh-firli dhunubi waftah li abwaba fadlika. (In the Name of Allah, and peace be upon the Messenger of Allah. O Allah, forgive me my sins and open to me the gates of Your bounty).'”
Chain of Narration (Isnad)
Ahmed bin al-Azhar bin Mny' أحمد بن الأزهر بن منيع
→
Mrwan bin Muhammad bin Hsan مروان بن محمد بن حسان الأسدي
→
Yazid bin al-Smt al-Sn'any يزيد بن السمط الصنعاني أبو السمط الدمشقي
→
al-Wadayn bin 'Ata' B. Kinana الوضين بن عطاء بن كنانة
→
Mhfwz bin 'Alqama al-Hdrmy محفوظ بن علقمة الحضرمي أبو جنادة الحمصي
→
Salman Farsi