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