Al-Kāfi - Volume 4 > Excellence of Performing Salat (Prayer) in Masjid al-Haram (the Sacred Masjid) and the Best Place Therein
Hadith #9

9ـ عِدَّةٌ مِنْ أَصْحَابِنَا عَنْ أَحْمَدَ بْنِ مُحَمَّدٍ عَنِ الْحُسَيْنِ بْنِ سَعِيدٍ عَنْ فَضَالَةَ بْنِ أَيُّوبَ عَنْ أَبَانٍ عَنْ زُرَارَةَ قَالَ سَأَلْتُهُ عَنِ الرَّجُلِ يُصَلِّي بِمَكَّةَ يَجْعَلُ الْمَقَامَ خَلْفَ ظَهْرِهِ وَهُوَ مُسْتَقْبِلُ الْقِبْلَةِ فَقَالَ لا بَأْسَ يُصَلِّي حَيْثُ شَاءَ مِنَ الْمَسْجِدِ بَيْنَ يَدَيِ الْمَقَامِ أَوْ خَلْفَهُ وَأَفْضَلُهُ الْحَطِيمُ وَالْحِجْرُ وَعِنْدَ الْمَقَامِ وَالْحَطِيمُ حِذَاءَ الْبَابِ.

9. A number of our people have narrated from Ahmad ibn Muhammad from al-Husayn ibn Sa‘id from Fadalah ibn Ayyub from Aban from Zurarah who has said the following: “I once asked him (the Imam), ‘Alayhi al-Salam, about a man who performs Salat (prayer) in Makkah with Maqam (station) of Ibrahim ‘Alayhi al-Salam, behind him, facing al-Qiblah (al-Ka‘bah). He (the Imam) said, ‘It is not harmful. He can perform Salat (prayer) anywhere in the Masjid, in front or behind Maqam (station) of Ibrahim ‘Alayhi al-Salam. More virtuous is al-Hatim and al-Hijr, near Maqam (station) of Ibrahim ‘Alayhi al-Salam and al-Hatim is in front of the door.’”