"The Prophet married Maimunah when he was a Muhrim."

Sunan an-Nasa'i Book 26, Hadith 77