(1) باب ابْتِنَاءِ مَسْجِدِ النَّبِيِّ صلى الله عليه وسلم
Anas reported:
The Messenger of Allah (ﷺ) used to pray in the folds of the sheep and goats before the mosque was built. (ID)
Reference (ID): Sahih Muslim 524 b (ID)
In-book reference (ID): Book 5, Hadith 14 (ID)
USC-MSA web (English) reference(deprecated numbering scheme): Book 4, Hadith 1069 (ID)