Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:5114Mālik b. Ismāʿīl > Ibn ʿUyaynah > ʿAmr > Jābir b. Zayd > Ibn

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

البخاري:٥١١٤حَدَّثَنَا مَالِكُ بْنُ إِسْمَاعِيلَ أَخْبَرَنَا ابْنُ عُيَيْنَةَ أَخْبَرَنَا عَمْرٌو حَدَّثَنَا جَابِرُ بْنُ زَيْدٍ قَالَ

أَنْبَأَنَا ابْنُ عَبَّاسٍ ؓ تَزَوَّجَ النَّبِيُّ ﷺ وَهْوَ مُحْرِمٌ