Jami` at-Tirmidhi, Book 13, Hadith 2 (Tirmidhi 1179)
Salim narrated that:
His father divorced his wife during her menses, so Umar asked the Prophet about that and he said: "Tell him to take her back, then let him divorce her while she is pure or pregnant."