Prayers (Salat)
8/49. Chapter:
To offer As-Salat (the prayer) in a sheep-fold
Sahih Bukhari
حَدَّثَنَا سُلَيْمَانُ بْنُ حَرْبٍ، قَالَ حَدَّثَنَا شُعْبَةُ، عَنْ أَبِي التَّيَّاحِ، عَنْ أَنَسٍ، قَالَ كَانَ النَّبِيُّ صلى الله عليه وسلم يُصَلِّي فِي مَرَابِضِ الْغَنَمِ، ثُمَّ سَمِعْتُهُ بَعْدُ يَقُولُ كَانَ يُصَلِّي فِي مَرَابِضِ الْغَنَمِ قَبْلَ أَنْ يُبْنَى الْمَسْجِدُ.
Narrated Abu Al-Taiyah [??]: 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."
Reference : Sahih al-Bukhari 429In-book reference : Book 8, Hadith 79USC-MSA web (English) reference : Vol. 1, Book 8, Hadith 421