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.

ذِكْرُ جَوَازِ الصَّلَاةِ لِلْمَرْءِ عَلَى الْمَوَاضِعِ الَّتِي أَصَابَهَا أَبْوَالُ مَا يُؤْكَلُ لُحُومُهَا وَأَرْوَاثُهَا

ibnhibban:1385al-Faḍl b. al-Ḥubāb > Muḥammad b. Kathīr al-ʿAbdī > Shuʿbah > Abū al-Tayyāḥ > Anas b. Mālik

Anas said, "The Prophet ﷺ prayed in the sheep fold." Later on I heard him saying, "He prayed in the sheep folds before the construction of the, mosque." (Using translation from Bukhārī 429)  

ابن حبّان:١٣٨٥أَخْبَرَنَا الْفَضْلُ بْنُ الْحُبَابِ قَالَ حَدَّثَنَا مُحَمَّدُ بْنُ كَثِيرٍ الْعَبْدِيُّ قَالَ أَخْبَرَنَا شُعْبَةُ عَنْ أَبِي التَّيَّاحِ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ

«كَانَ النَّبِيُّ ﷺ يُصَلِّي فِي مَرَابِضِ الْغَنَمِ»  


See similar narrations below:

Collected by Bukhārī, Tirmidhī, Suyūṭī
bukhari:234Ādam > Shuʿbah > Abū al-Tayyāḥ Yazīd b. Ḥumayd > Anas

Prior to the construction of the mosque, the Prophet ﷺ offered the prayers at sheep-folds.  

البخاري:٢٣٤حَدَّثَنَا آدَمُ قَالَ حَدَّثَنَا شُعْبَةُ قَالَ أَخْبَرَنَا أَبُو التَّيَّاحِ يَزِيدُ بْنُ حُمَيْدٍ عَنْ أَنَسٍ قَالَ

كَانَ النَّبِيُّ ﷺ يُصَلِّي قَبْلَ أَنْ يُبْنَى الْمَسْجِدُ فِي مَرَابِضِ الْغَنَمِ  

tirmidhi:350Muḥammad b. Bashhār > Yaḥyá b. Saʿīd > Shuʿbah > Abū al-Tayyāḥ al-Ḍubaʿī > Anas b. Mālik

"The Prophet would perform Salat in sheep pens."  

الترمذي:٣٥٠حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ عَنْ شُعْبَةَ عَنْ أَبِي التَّيَّاحِ الضُّبَعِيِّ عَنْ أَنَسِ بْنِ مَالِكٍ

أَنَّ النَّبِيَّ ﷺ كَانَ يُصَلِّي فِي مَرَابِضِ الْغَنَمِ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ وَأَبُو التَّيَّاحِ الضُّبَعِيُّ اسْمُهُ يَزِيدُ بْنُ حُمَيْدٍ