Translation
(67) Wedlock, Marriage (Nikaah)
كتاب النكاح
(31) Chapter: The marriage of Muhrim
(30) باب نِكَاحِ الْمُحْرِمِ
Sahih al-Bukhari 5114 

Narrated Ibn `Abbas:

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

حَدَّثَنَا مَالِكُ بْنُ إِسْمَاعِيلَ، أَخْبَرَنَا ابْنُ عُيَيْنَةَ، أَخْبَرَنَا عَمْرٌو، حَدَّثَنَا جَابِرُ بْنُ زَيْدٍ، قَالَ أَنْبَأَنَا ابْنُ عَبَّاسٍ ـ رضى الله عنهما ـ تَزَوَّجَ النَّبِيُّ صلى الله عليه وسلم وَهْوَ مُحْرِمٌ‏.‏
Reference : Sahih al-Bukhari 5114
In-book reference : Book 67, Hadith 51
USC-MSA web (English) reference : Vol. 7, Book 62, Hadith 49
  (deprecated numbering scheme)