كتاب البر والصلة والآداب
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 a

Abu Burza al-Aslami reported that a slave-girl was riding a dromedary and there was also the luggage of people upon it. that she suddenly saw Allah's Apostle (ﷺ). The way of the mountain was narrow and she said (to that dromedary):

Go ahead (but that dromedary did not move). She (that slave-girl), out of anger, said: O Allah, let that (dromedary) be damned. Thereupon Allah's Apostle (ﷺ) said: Let the dromedary on which the curse has been invoked not proceed with us.
حَدَّثَنَا أَبُو كَامِلٍ الْجَحْدَرِيُّ، فُضَيْلُ بْنُ حُسَيْنٍ حَدَّثَنَا يَزِيدُ، - يَعْنِي ابْنَ زُرَيْعٍ - حَدَّثَنَا التَّيْمِيُّ، عَنْ أَبِي عُثْمَانَ، عَنْ أَبِي بَرْزَةَ الأَسْلَمِيِّ، قَالَ بَيْنَمَا جَارِيَةٌ عَلَى نَاقَةٍ عَلَيْهَا بَعْضُ مَتَاعِ الْقَوْمِ إِذْ بَصُرَتْ بِالنَّبِيِّ صلى الله عليه وسلم وَتَضَايَقَ بِهِمُ الْجَبَلُ فَقَالَتْ حَلْ اللَّهُمَّ الْعَنْهَا ‏.‏ قَالَ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏ "‏ لاَ تُصَاحِبُنَا نَاقَةٌ عَلَيْهَا لَعْنَةٌ ‏"‏ ‏.‏
Reference : Sahih Muslim 2596a
In-book reference : Book 45, Hadith 104
USC-MSA web (English) reference : Book 32, Hadith 6278
  (deprecated numbering scheme)