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.
ahmad:1819ʿAbd al-Razzāq > Ibn Jurayj > ʿAmr b. Dīnār

[Machine] He informed him that he entered the house with the Prophet ﷺ and that the Prophet ﷺ did not pray in the house when he entered it, but when he came out, he performed two units of prayer at the door of the house.  

أحمد:١٨١٩حَدَّثَنَا عَبْدُ الرَّزَّاقِ حَدَّثَنَا ابْنُ جُرَيْجٍ أَخْبَرَنِي عَمْرُو بْنُ دِينَارٍ أَنَّ ابْنَ عَبَّاسٍ كَانَ يُخْبِرُ أَنَّ الْفَضْلَ بْنَ عَبَّاسٍ

أَخْبَرَهُ أَنَّهُ دَخَلَ مَعَ النَّبِيِّ ﷺ الْبَيْتَ وَأَنَّ النَّبِيَّ ﷺ لَمْ يُصَلِّ فِي الْبَيْتِ حِينَ دَخَلَهُ وَلَكِنَّهُ لَمَّا خَرَجَ فَنَزَلَ رَكَعَ رَكْعَتَيْنِ عِنْدَ بَابِ الْبَيْتِ  


See similar narrations below:

Collected by Ṭabarānī
tabarani:15894Isḥāq b. Ibrāhīm > ʿAbd al-Razzāq > Ibn Jurayj > ʿAmr b. Dīnār

[Machine] He informed him that he entered the house with the Prophet ﷺ and that the Prophet ﷺ did not pray in the house when he entered it. But when he left, he performed two units of prayer at the door of the house.  

الطبراني:١٥٨٩٤حَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ أَنَا عَبْدُ الرَّزَّاقِ أَنَا ابْنُ جُرَيْجٍ أَخْبَرَنِي عَمْرُو بْنُ دِينَارٍ أَنَّ ابْنَ عَبَّاسَ كَانَ يُخْبِرُ أَنَّ الْفَضْلَ بْنَ عَبَّاسٍ

أَخْبَرَهُ أَنَّهُ دَخَلَ مَعَ النَّبِيِّ ﷺ الْبَيْتَ وَأَنَّ النَّبِيَّ ﷺ لَمْ يُصَلِّ فِي الْبَيْتِ حِينَ دَخَلَهُ وَلَكِنَّهُ لَمَّا خَرَجَ رَكَعَ رَكْعَتَيْنِ عِنْدَ بَابِ الْبَيْتِ