It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him), attributing it to the Prophet (peace and blessings be upon him): The prayer is to be repeated if blood the size of a dirham gets on the garment.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 4093