Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:315ʿAlī b. Ḥujr > Ismāʿīl b. Ibrāhīm Falaqīt ʿAbdullāh b. al-Ḥasan Bimakkah Fasaʾaltuh > Hadhā al-Ḥadīth Faḥaddathanī Bih

"I met Abdullah bin al Husain in Makkah, so I asked him about this Hadith, so he narrated it to me, he said: 'When Messenger of Allah 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.'"  

الترمذي:٣١٥وَقَالَ عَلِيُّ بْنُ حُجْرٍ قَالَ إِسْمَاعِيلُ بْنُ إِبْرَاهِيمَ فَلَقِيتُ عَبْدَ اللَّهِ بْنَ الْحَسَنِ بِمَكَّةَ فَسَأَلْتُهُ عَنْ هَذَا الْحَدِيثِ فَحَدَّثَنِي بِهِ قَالَ كَانَ إِذَا دَخَلَ قَالَ

رَبِّ افْتَحْ لِي بَابَ رَحْمَتِكَ وَإِذَا خَرَجَ $$قَالَ رَبِّ افْتَحْ لِي بَابَ فَضْلِكَ  

قَالَ أَبُو عِيسَى وَفِي الْبَابِ عَنْ أَبِي حُمَيْدٍ وَأَبِي أُسَيْدٍ وَأَبِي هُرَيْرَةَ قَالَ أَبُو عِيسَى حَدِيثُ فَاطِمَةَ حَدِيثٌ حَسَنٌ وَلَيْسَ إِسْنَادُهُ بِمُتَّصِلٍ وَفَاطِمَةُ بِنْتُ الْحُسَيْنِ لَمْ تُدْرِكْ فَاطِمَةَ الْكُبْرَى إِنَّمَا عَاشَتْ فَاطِمَةُ بَعْدَ النَّبِيِّ ﷺ أَشْهُرًا