كتاب الجهاد والسير
32  
The Book of Jihad and Expeditions
(32)
Chapter: Removal of Idols from around the Ka'bah
(32)
باب إِزَالَةِ الأَصْنَامِ مِنْ حَوْلِ الْكَعْبَةِ ‏‏
Sahih Muslim 1781 b

This tradition has been narrated by Ibn Abu Najah through a different chain of transmitters up to the word:

Zahaqa, (This version) does not contain the second verse and substitutes Sanam for Nusub (both the words mean" idol" or" image" that is worshipped).
وَحَدَّثَنَاهُ حَسَنُ بْنُ عَلِيٍّ الْحُلْوَانِيُّ، وَعَبْدُ بْنُ حُمَيْدٍ، كِلاَهُمَا عَنْ عَبْدِ الرَّزَّاقِ، أَخْبَرَنَا الثَّوْرِيُّ، عَنِ ابْنِ أَبِي نَجِيحٍ، بِهَذَا الإِسْنَادِ إِلَى قَوْلِهِ زَهُوقًا ‏.‏ وَلَمْ يَذْكُرِ الآيَةَ الأُخْرَى وَقَالَ بَدَلَ نُصُبًا صَنَمًا ‏.‏
Reference : Sahih Muslim 1781b
In-book reference : Book 32, Hadith 108
USC-MSA web (English) reference : Book 19, Hadith 4398
  (deprecated numbering scheme)