Hadithcore
Musnad Ahmad 2222
graded

Al-Hasan al-'Urani said: It was said in the presence of Ibn ‘Abbas (رضي الله عنه) that

Prayer is interrupted by a dog, a donkey or woman. He said: What a bad thing to make a Muslim woman equivalent to a dog or a donkey! I remember when I came on a donkey when the Messenger of Allah (ﷺ) was leading the people in prayer, when I got close to him, in front of him, I dismounted and let it go, and I joined the Messenger of Allah (ﷺ) in his prayer. The Messenger of Allah (ﷺ) did not repeat his prayer and he did not tell me not to do what I had done. The Messenger of Allah (ﷺ) was leading the people in prayer, and a small girl came, pushing through the rows, until she held onto the Messenger of Allah (ﷺ), but the Messenger of Allah (ﷺ) did not repeat his prayer and he did not tell her off for what she had done. The Messenger of Allah (ﷺ) was praying in the mosque, and a lamb came out of one of the apartments of the Prophet (ﷺ) and wanted to pass in front of him, and the Messenger of Allah (ﷺ) stopped it. Ibn 'Abbas (رضي الله عنه) said: So why don't you say that a lamb interrupts the prayer?

References1 variant
Arabic/English book
Book 25, Hadith 2222