The Prophet (ﷺ) got married while he was in the state of Ihram.

Sahih al-Bukhari Book 67, Hadith 51