Hadith 117
The Book on Salat (Prayer)
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.'"
وَقَالَ عَلِيُّ بْنُ حُجْرٍ قَالَ إِسْمَاعِيلُ بْنُ إِبْرَاهِيمَ فَلَقِيتُ عَبْدَ اللَّهِ بْنَ الْحَسَنِ بِمَكَّةَ فَسَأَلْتُهُ عَنْ هَذَا الْحَدِيثِ، فَحَدَّثَنِي بِهِ، قَالَ كَانَ إِذَا دَخَلَ قَالَ
رَبِّ افْتَحْ لِي بَابَ رَحْمَتِكَ وَإِذَا خَرَجَ $$قَالَ رَبِّ افْتَحْ لِي بَابَ فَضْلِكَ
Hadith gradings, numbering and translations can differ between editions. For legal rulings or detailed interpretation, consult qualified scholarship and the referenced edition.