Sunan Abi Dawud 1792
Narrated Abdullah ibn Abbas:
The Prophet (ﷺ) raised his voice in talbiyah for hajj. When he came (to Mecca) he went round the House (the Ka'bah) and ran between as-Safa and al-Marwah. The narrator Ibn Shawkar said: He did not clip his hair, nor did he take off his ihram due to sacrificial animals. But he commanded those who did not bring sacrificial animals with them to go round the Ka'bah, to run between as-Safa and al-Marwah, to clip their hair, and then put off their ihram. The narrator Ibn Mani' added: Or shave their heads, then take off their ihram."
حَدَّثَنَا الْحَسَنُ بْنُ شَوْكَرٍ، وَأَحْمَدُ بْنُ مَنِيعٍ، قَالاَ حَدَّثَنَا هُشَيْمٌ، عَنْ يَزِيدَ بْنِ أَبِي زِيَادٍ، - قَالَ ابْنُ مَنِيعٍ أَخْبَرَنَا يَزِيدُ بْنُ أَبِي زِيَادٍ الْمَعْنَى، - عَنْ مُجَاهِدٍ، عَنِ ابْنِ عَبَّاسٍ، قَالَ أَهَلَّ النَّبِيُّ صلى الله عليه وسلم بِالْحَجِّ فَلَمَّا قَدِمَ طَافَ بِالْبَيْتِ وَبَيْنَ الصَّفَا وَالْمَرْوَةِ - وَقَالَ ابْنُ شَوْكَرٍ وَلَمْ يُقَصِّرْ ثُمَّ اتَّفَقَا - وَلَمْ يَحِلَّ مِنْ أَجْلِ الْهَدْىِ وَأَمَرَ مَنْ لَمْ يَكُنْ سَاقَ الْهَدْىَ أَنْ يَطُوفَ وَأَنْ يَسْعَى وَيُقَصِّرَ ثُمَّ يَحِلَّ ‏.‏ زَادَ ابْنُ مَنِيعٍ فِي حَدِيثِهِ أَوْ يَحْلِقَ ثُمَّ يَحِلَّ ‏.‏