Hadithcore
Sunan Abi Dawud, 1807

Abu Dharr used to say about a person who makes the intention of Hajj but he repeal it for the ‘Umrah (that will not be valid). This cancellation of hajj for ‘Umrah was specially meant for the people who accompanied the Messenger of Allaah(ﷺ).

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

References2 variants
In-Book Reference
Book 11, Hadith 87
English Reference
Book 10, Hadith 1803