Sunan Abi Dawud Book 2, Hadith 315
I saw a crippled man at Tabuk. He (the man) said: I passed riding a donkey in front of the Prophet(ﷺ) who was praying. He said (cursing him): O Allah, cut off his walking. Thenceforth I could not walk.
Ikrimah reported on the authority of Ibn Abbas, saying: I think the Messenger of Allah (ﷺ) said: When one of you prays without a sutrah, a dog, an ass, a pig, a Jew, a Magian, and a woman cut off his prayer, but it will suffice if they pass in front of him at a distance of over a stone's throw.
Abu Dawud said: There is something about this tradition in my heart. I used to discuss it with Ibrahim and others. I did not find anyone who narrated it from Hisham and knew it. I did not know anyone who reported it from Hisham and knew it. I did not know anyone who related it from Hisham. I think the confusion is on the part of Ibn Abi Saminah that is, Muhammad b. Isma'il al-Basri, the freed slave of Banu Hisham. In this tradition the mention of words "a Magian" is rejected; the mention of the words "at a stone's throw" and "a pig" is rejected.
Abu Dawud said: I did not hear this tradition except from Muhammad b. Isma'il b. Samurrah and I think he was mistaken because he used to narrate to us from his memory.
He cut off our prayer, may Allah cut off his walking.
Abu Dawud said: This version narrated by Mushir on the authority of Sa’id has: He cut off our prayer.