Hadith 504

حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ ، قَالَ : حَدَّثَنَا جُوَيْرِيَةُ ، عَنْ نَافِعٍ ، عَنِ ابْنِ عُمَرَ ، قَالَ : دَخَلَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ الْبَيْتَ ، وَأُسَامَةُ بْنُ زَيْدٍ ، وَعُثْمَانُ بْنُ طَلْحَةَ ، وَبِلَالٌ فَأَطَالَ ، ثُمَّ خَرَجَ وَكُنْتُ أَوَّلَ النَّاسِ دَخَلَ عَلَى أَثَرِهِ ، فَسَأَلْتُ بِلَالًا : " أَيْنَ صَلَّى ؟ قَالَ : بَيْنَ الْعَمُودَيْنِ الْمُقَدَّمَيْنِ " .
Narrated Ibn `Umar: The Prophet entered the Ka`ba along with Usama bin Zaid, `Uthman bin Talha and Bilal and remained there for a long time. When they came out, I was the first man to enter the Ka`ba. I asked Bilal "Where did the Prophet pray?" Bilal replied, "Between the two front Pillars."
Hadith Reference صحيح البخاري / كتاب الصلاة / 504
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة
Explanation & Benefits
Shaykh Abdul Sattar al-Hammad
Hadith Commentary:
Abdul Hameed bin Mahmood narrates that we prayed behind an amir (leader). People compelled us, so we prayed between two pillars. After the prayer, Anas bin Malik (radi Allahu anhu) said that during the time of the Messenger of Allah (sallallahu alayhi wa sallam), we used to try to avoid this. (Jami‘ at-Tirmidhi, Kitab as-Salat, Hadith: 229)

Similarly, Qurrah bin Iyas Muzani narrates that during the time of the Messenger of Allah (sallallahu alayhi wa sallam), we were forbidden from forming rows between pillars, and we were strictly prevented from this. (Sunan Ibn Majah, Iqamat as-Salawat, Hadith: 1002)

From these narrations, it is understood that praying between pillars is prohibited. Imam Bukhari (rahimahullah), by adding the restriction of “not in congregation” in the chapter heading, clarified that this prohibition pertains to congregational prayer; if someone is praying alone, then there is no significant harm in it. For this, he presented the practice of the Messenger of Allah (sallallahu alayhi wa sallam), that he prayed between two pillars inside the Ka‘bah. Accordingly, Shah Waliullah Muhaddith Dehlawi (rahimahullah) writes in Sharh Tarajim Bukhari:

“A person praying alone may pray between pillars; the dislike is only for praying between pillars in the state of congregation.”
Source: Hidayat al-Qari: Commentary on Sahih Bukhari, Urdu, Page: 504