"I aid to Jabir bin Zaid: "What invalidates prayer?" He said: "Ibn Abbas used to say: A menstruating woman and a dog." (One of the narrators)Yahya said: "Shubah said it was a marfu report."
Sunan an-Nasa'i Book 9, Hadith 10