It wasnarrated from Musa bin Talhah that his father said:
"We usedtoperform prayer while the beasts were passing in front of us. Thatwasmentioned to the Messenger of Allah (ﷺ) and he said: 'Ifsomething like the hand of a saddle* is placed in front of anyone ofyou, it will not matter whoever passes in front of him." (AR)
English reference (AR): Vol. 1, Book 5, Hadith 940 (AR)
Arabic reference (AR): Book 5, Hadith 993 (AR)