The correct view is that it is a devil among dogs, not a devil among the jinn. The term devil is not exclusive to the jinn. Allah the Exalted says:
“Thus We have made for every prophet an enemy—devils from among mankind and jinn.” [al-An‘am 6:112]
Just as there are devils among the jinn, there are devils among mankind and among animals. Thus, the meaning of “devil” in the hadith is a devil among dogs, for it is the most vicious of them. That is why it is to be killed in all circumstances, and game caught by it is not lawful to eat, unlike that caught by other dogs.
Second: to exclude the woman and the donkey.
This is the well-known position of the madhhab: the prayer is invalidated only by the passing of a completely black dog; it is not invalidated by the passing of anything else (1).
In summary, there are four conditions for the prayer to be invalidated by this:
-
Passing in front of the worshipper.
-
The passer must be a dog.
-
It must be black.
-
It must be completely black.
If even one condition is absent, the prayer is not invalidated.
As for the woman and the donkey, the prayer is not invalidated by their passing in front of the worshipper, according to what is indicated by the author’s words; and this is the position of the madhhab (2).
The evidence that the black dog invalidates the prayer is the hadith of Abu Dharr: the Prophet, peace and blessings be upon him, said: “When one of you stands to pray, he is screened if there is before him something like the rear portion of...”