Sahih Muslim , Book 1, Hadith 417 (In-Book)

This hadith was narrated by A'mash on the authority of the same chain of narrators and he said: One day the Messenger of Allah climbed the hill of Safa' and said: Be on your guard, and the rest of the hadith was narrated like the hadith transmitted by Usama; he made no mention of the revelation of the verse:" Warn thy nearest kindred."

وَحَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، وَأَبُو كُرَيْبٍ قَالاَ حَدَّثَنَا أَبُو مُعَاوِيَةَ، عَنِ الأَعْمَشِ، بِهَذَا الإِسْنَادِ قَالَ صَعِدَ رَسُولُ اللَّهِ صلى الله عليه وسلم ذَاتَ يَوْمٍ الصَّفَا فَقَالَ ‏"‏ يَا صَبَاحَاهْ ‏"‏ ‏.‏ بِنَحْوِ حَدِيثِ أَبِي أُسَامَةَ وَلَمْ يَذْكُرْ نُزُولَ الآيَةِ ‏{‏ وَأَنْذِرْ عَشِيرَتَكَ الأَقْرَبِينَ‏}‏

sunnah.com