Sahih al-Bukhari, Book 67, Hadith 51 (Bukhari 4909)

Narrated Ibn `Abbas:

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