Sahih Muslim , Hadith 2596

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.

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

sunnah.com

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."

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

sunnah.com