Sunan Abi Dawud, Hadith 1784

Jabir said The Apostle of Allaah and his companions came to Makkah on the fourth of Dhu Al Hijjah. When they circumambulated the Ka’bah and ran between al Safa’ and al Marwah the Apostle of Allaah said Change this (Hajj) into ‘Umrah, except those who have brought the sacrificial animals with them. When the eighth of Dhul Al Hijjah came, they raised their voices in talbiyah for Hall. When the tenth of Dhul Al Hijjah came, they circumambulated the Ka’bah, but did not run between al Safa’ and Al Marwah.

حَدَّثَنَا مُوسَى بْنُ إِسْمَاعِيلَ، حَدَّثَنَا حَمَّادٌ، عَنْ قَيْسِ بْنِ سَعْدٍ، عَنْ عَطَاءِ بْنِ أَبِي رَبَاحٍ، عَنْ جَابِرٍ، قَالَ قَدِمَ رَسُولُ اللَّهِ صلى الله عليه وسلم وَأَصْحَابُهُ لأَرْبَعِ لَيَالٍ خَلَوْنَ مِنْ ذِي الْحِجَّةِ فَلَمَّا طَافُوا بِالْبَيْتِ وَبِالصَّفَا وَالْمَرْوَةِ قَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏ "‏ اجْعَلُوهَا عُمْرَةً إِلاَّ مَنْ كَانَ مَعَهُ الْهَدْىُ ‏" ‏ ‏.‏ فَلَمَّا كَانَ يَوْمُ التَّرْوِيَةِ أَهَلُّوا بِالْحَجِّ فَلَمَّا كَانَ يَوْمُ النَّحْرِ قَدِمُوا فَطَافُوا بِالْبَيْتِ وَلَمْ يَطُوفُوا بَيْنَ الصَّفَا وَالْمَرْوَةِ ‏.‏

sunnah.com

also referenced under: Hadith 1788 (DarusSalam)