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

Sahih al-Bukhari Book 67 Hadith 51

Sahih al-Bukhari #5114

Wedlock, Marriage (Nikaah) 67:51

Narrated Ibn `Abbas:

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

Chapter: The marriage of Muhrim

Grade: Sahih