Anas bin Malik narrated: "The Prophet would perform Salat in sheep pens".
The hadith also teaches us about the importance of being humble and not letting pride get in the way of fulfilling our duties as Muslims. The fact that the Prophet chose a humble place like a sheep pen for prayer instead of a grand mosque is an example of this humility which we should all strive for. It also shows us that we should never forget Allah's blessings on us no matter where we are or what situation we find ourselves in, as He is always with us wherever we go.