Sunan Ibn Majah, Book 1, Hadith 384 (Ibn Majah 650)

It was narrated that Ibn 'Abbas said:

"If a man had intercourse with his wife while she was menstruating, the Prophet commanded him to give half a Dinar in charity."