Al-Kāfi

Hadith 1507
prayer-etiquettejurisprudence
3ـ عَنْهُ عَنْ أَحْمَدَ بْنِ مُحَمَّدٍ وَمُحَمَّدِ بْنِ الْحُسَيْنِ عَنْ عُثْمَانَ بْنِ عِيسَى عَنْ سَمَاعَةَ قَالَ لاَ تُصَلِّ فِي مَرَابِطِ الْخَيْلِ وَالْبِغَالِ وَالْحَمِيرِ.
3. It is a narration from him (narrator of previous Hadith) by Ahmad ibn Muhammad and Muhammad ibn al-Husayn from ‘Uthman ibn ‘Isa from Sama‘ah who has said the following: “He (the Imam) (a.s.), said, ‘You must not perform Salah (prayer) in places where horses, mules and donkeys are kept.’”
Source: Shaykh Muḥammad b. Yaʿqūb al-Kulaynī