It is narrated from Sayyiduna Ibn Abbas (may Allah be pleased with them both): "When he has intercourse with her while the blood is flowing, then one dinar, and when he does so after the blood has stopped, then half a dinar."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحيض / 1526