Sayyiduna Ibn Abbas (may Allah be pleased with them both) said: "The prayer is broken by a black dog or a menstruating woman passing."