عَنِ ابْنِ جُرَيْجٍ قَالَ: قُلْتُ لِعَطَاءٍ: أَسَمِعْتَ ابْنَ عَبَّاسِ يَقُولُ: إِنَّمَا أُمِرْتُمْ بِالطَّوَافِ وَلَمْ تُؤْمَرُوا بِالدُّخُولِ؟ قَالَ: لَمْ يَكُنْ يَنْهَى عَنْ دُخُولِهِ، وَلَكِنِّي سَمِعْتُهُ يَقُولُ: أَخْبَرَنِي أُسَامَةُ بْنُ زَيْدٍ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ لَمَّا دَخَلَ الْبَيْتَ دَعَا فِي نَوَاحِيهِ كُلِّهَا وَلَمْ يُصَلِّ فِيهِ حَتَّى خَرَجَ، فَلَمَّا خَرَجَ رَكَعَ رَكْعَتَيْنِ فِي قُبُلِ الْقِبْلَةِ، قَالَ عَبْدُ الرَّزَّاقِ وَقَالَ: ((هَٰذِهِ الْقِبْلَةُ))
Ibn Jurayj says that I asked Ata: Did you hear Sayyiduna Abdullah ibn Abbas (may Allah be pleased with him) saying that you have only been commanded to perform Tawaf of the House of Allah, not to enter it? He replied: He did not prohibit entering it, but I heard him narrate: Sayyiduna Usama ibn Zayd (may Allah be pleased with him) told me that when the Prophet Muhammad (peace and blessings be upon him) entered the House of Allah, he supplicated in all its corners and did not perform prayer until he came out. After coming out, he performed two rak‘ahs facing the Qiblah and said: This is the Qiblah.