كتاب النذر
26  
The Book of Vows
(3)
Chapter: There is no fulfillment of a vow that involves disobedience towards Allah, or a vow concerning that which a person does not own
(3)
باب لاَ وَفَاءَ لِنَذْرٍ فِي مَعْصِيَةِ اللَّهِ وَلاَ فِيمَا لاَ يَمْلِكُ الْعَبْدُ ‏‏
Sahih Muslim 1641 b

This hadith is narrated on the authority of Ayyub with the same chain of transmitters and a slight variation of words.

حَدَّثَنَا أَبُو الرَّبِيعِ الْعَتَكِيُّ، حَدَّثَنَا حَمَّادٌ يَعْنِي ابْنَ زَيْدٍ، ح وَحَدَّثَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، وَابْنُ أَبِي عُمَرَ عَنْ عَبْدِ الْوَهَّابِ الثَّقَفِيِّ، كِلاَهُمَا عَنْ أَيُّوبَ، بِهَذَا الإِسْنَادِ نَحْوَهُ وَفِي حَدِيثِ حَمَّادٍ قَالَ كَانَتِ الْعَضْبَاءُ لِرَجُلٍ مِنْ بَنِي عُقَيْلٍ وَكَانَتْ مِنْ سَوَابِقِ الْحَاجِّ وَفِي حَدِيثِهِ أَيْضًا فَأَتَتْ عَلَى نَاقِةٍ ذَلُولٍ مُجَرَّسَةٍ ‏.‏ وَفِي حَدِيثِ الثَّقَفِيِّ وَهِيَ نَاقَةٌ مُدَرَّبَةٌ ‏.‏
Reference : Sahih Muslim 1641b
In-book reference : Book 26, Hadith 12
USC-MSA web (English) reference : Book 14, Hadith 4028
  (deprecated numbering scheme)