I was riding behind Fadl on a female donkey. We arrived while the Prophet ﷺ was leading his companions in prayer at Mina. We dismounted and joined the row, and the donkey passed in front of them, but it did not interrupt their prayer.
حدثنا محمد بن عبد الملك بن أبي الشوارب حدثنا يزيد بن زريع حدثنا معمر عن الزهري عن عبيد الله بن عبد الله بن عتبة
كنت رديف الفضل على أتان فجئنا والنبي ﷺ يصلي بأصحابه بمنى قال فنزلنا عنها فوصلنا الصف فمرت بين أيديهم فلم تقطع صلاتهم
Agreed upon (by Bukhari and Muslim). Muslim also reported it in the Book of Prayer, chapter on the barrier for the one praying and the recommendation of praying toward a barrier, etc., hadith no. 504, from the narration of Muamar bin Rashid, and Bukhari, hadith no. 493, from the narration of Zuhri, with the same wording.There are also narrations on this subject from Ayesha [Bukhari, no. 382, and Muslim, no. 512], Fadl bin Abbas [Abu Dawud, no. 718], and Ibn Umar [Daraqutni, 1/367, 368, no. 1366].