Jami` at-Tirmidhi 315

Book 2: The Book on Salat (Prayer)

جامع الترمذي

Chapter 117What Is Said When One Enters Into The Masjid

باب مَا جَاءَ مَا يَقُولُ عِنْدَ دُخُولِ الْمَسْجِدِ

315Jami` at-Tirmidhi 315Da'if
وَقَالَ عَلِيُّ بْنُ حُجْرٍ قَالَ إِسْمَاعِيلُ بْنُ إِبْرَاهِيمَ فَلَقِيتُ عَبْدَ اللَّهِ بْنَ الْحَسَنِ بِمَكَّةَ فَسَأَلْتُهُ عَنْ هَذَا الْحَدِيثِ، فَحَدَّثَنِي بِهِ، قَالَ كَانَ إِذَا دَخَلَ قَالَ ‏"‏ رَبِّ افْتَحْ لِي بَابَ رَحْمَتِكَ وَإِذَا خَرَجَ $$قَالَ رَبِّ افْتَحْ لِي بَابَ فَضْلِكَ ‏"‏ ‏.‏ قَالَ أَبُو عِيسَى وَفِي الْبَابِ عَنْ أَبِي حُمَيْدٍ وَأَبِي أُسَيْدٍ وَأَبِي هُرَيْرَةَ ‏.‏ قَالَ أَبُو عِيسَى حَدِيثُ فَاطِمَةَ حَدِيثٌ حَسَنٌ وَلَيْسَ إِسْنَادُهُ بِمُتَّصِلٍ ‏.‏ وَفَاطِمَةُ بِنْتُ الْحُسَيْنِ لَمْ تُدْرِكْ فَاطِمَةَ الْكُبْرَى إِنَّمَا عَاشَتْ فَاطِمَةُ بَعْدَ النَّبِيِّ صلى الله عليه وسلم أَشْهُرًا ‏.‏

Ismail bin Ibrahim (a narrator in the chain of Hadith no. 314) said:
"I met Abdullah bin al Husain in Makkah, so I asked him about this Hadith, so he narrated it to me, he said: 'When Allah's Messenger entered, he said (Rabbi aftahli abwaba rahmatik) 'O Lord, open the gates of Your mercy for me.' And when he exited he said: (Rabbi iftahli abwaba fadlik) 'O Lord, open the gates of Your blessings for me.'"

Grade:
Da'if
Reference:
Jami` at-Tirmidhi 315
In-book reference:
Book 2, Hadith 167

Text, translation and grading from Sunnah.com.