Sahih al-Bukhari, Book 8, Hadith 79 (Bukhari 423)

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."