Sunan an-Nasa'i, Book 8, Hadith 48 (In-Book)

It was narrated from 'Abdullah bin Mughaffal that the Messenger of Allah forbade praying in the camel pens. [1] A'tan: Kneeling places, or, where they kneel to drink water.

أَخْبَرَنَا عَمْرُو بْنُ عَلِيٍّ، قَالَ حَدَّثَنَا يَحْيَى، عَنْ أَشْعَثَ، عَنِ الْحَسَنِ، عَنْ عَبْدِ اللَّهِ بْنِ مُغَفَّلٍ، أَنَّ رَسُولَ اللَّهِ صلى الله عليه وسلم نَهَى عَنِ الصَّلاَةِ فِي أَعْطَانِ الإِبِلِ ‏.‏

sunnah.com