Sahih al-Bukhari 1809
Sahih al-Bukhari · Book 27: Pilgrims Prevented from Completing the Pilgrimage · If one is prevented from 'Umra
Narrated Ibn `Abbas:
حَدَّثَنَا مُحَمَّدٌ ، قَالَ حَدَّثَنَا يَحْيَى بْنُ صَالِحٍ ، حَدَّثَنَا مُعَاوِيَةُ بْنُ سَلاَّمٍ ، حَدَّثَنَا يَحْيَى بْنُ أَبِي كَثِيرٍ ، عَنْ عِكْرِمَةَ ، قَالَ قَالَ ابْنُ عَبَّاسٍ ـ رضى الله عنهما ـ قَدْ أُحْصِرَ رَسُولُ اللَّهِ صلى الله عليه وسلم فَحَلَقَ رَأْسَهُ وَجَامَعَ نِسَاءَهُ، وَنَحَرَ هَدْيَهُ، حَتَّى اعْتَمَرَ عَامًا قَابِلاً.
Allah's Messenger (ﷺ) was prevented from performing (`Umra) Therefore, he shaved his head and had sexual relations with his wives and slaughtered his Hadi and performed Umra in the following year.