Sunan Abu Dawud #265
Purification (Kitab Al-Taharah) 1:265
Ibn ‘Abbas said:
If one has intercourse in the beginning of the menses,(one should give) one dinar; in case one has intercourse towards the end of the menses, then half a dinar (should be given)