كتاب البر والصلة والآداب
45  
The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship
(24)
Chapter: The Prohibition Of Cursing Animals Etc.
(24)
باب النَّهْىِ عَنْ لَعْنِ الدَّوَابِّ، وَغَيْرِهَا، ‏‏
Sahih Muslim 2596 b

This hadith has been narrated on the authority of Sulaiman Taimi with the same chain of transmitters but with a variation of words (and that is):

" By Allah, let that accompany us not which has been damned, or he said like it."
حَدَّثَنَا مُحَمَّدُ بْنُ عَبْدِ الأَعْلَى، حَدَّثَنَا الْمُعْتَمِرُ، ح وَحَدَّثَنِي عُبَيْدُ اللَّهِ بْنُ سَعِيدٍ، حَدَّثَنَا يَحْيَى، - يَعْنِي ابْنَ سَعِيدٍ - جَمِيعًا عَنْ سُلَيْمَانَ التَّيْمِيِّ، بِهَذَا الإِسْنَادِ وَزَادَ فِي حَدِيثِ الْمُعْتَمِرِ ‏ "‏ لاَ ايْمُ اللَّهِ لاَ تُصَاحِبُنَا رَاحِلَةٌ عَلَيْهَا لَعْنَةٌ مِنَ اللَّهِ ‏"‏ ‏.‏ أَوْ كَمَا قَالَ ‏.‏
Reference : Sahih Muslim 2596b
In-book reference : Book 45, Hadith 105
USC-MSA web (English) reference : Book 32, Hadith 6279
  (deprecated numbering scheme)