Imran b. Husain reported that the tribe of Thaqif was the ally of Banu 'Uqail. Thaqif took two persons from amongst the Companions of Allah' s Messenger (ﷺ) as prisoners. The Companions of Allah' s Messenger (ﷺ) took one person at Banu Uqail as prisoner, and captured al-' Adbi (the she-camel of the Holy Prophet) along with him. Allah' s Messenger (ﷺ) came to him and he was tied with ropes. He said: Muhammad. He came near him and said: What is the matter with you? Thereupon he (the prisoner) said: Why have you taken me as prisoner and why have you caught hold of one proceeding the pilgrims (the she-camel as she carried the Prophet on her back and walked ahead of the multitude)? He (the Holy Prophet) said: (Yours is a great fault). I (my men) have caught hold of you for the crime of your allies, Banu Thaqif. He (the Holy Prophet) then turned away. He again called him and said: Muhammad, Muhammad, and since Allah' s Messenger (ﷺ) was very compassionate, and tenderhearted, he returned to him, and said: What is the matter with you? He said: I am a Muslim, whereupon he (the Holy Prophet) said: Had you said this when you had been the master of yourself, you would have gained every success. He then turned away. He (the prisoner) called him again saying: Muhammad, Muhammad. He came to him and said: What is the matter with you? He said: I am hungry, feed me, and I am thirsty, so provide me with drink. He (the Holy Prophet) said: That is (to satisfy) your want. He was then ransomed for two persons (who had been taken prisoner by Thaqif). He (the narrator) said: A woman of the Ansar had been taken prisoner and also al-Adbi' was caught. The woman had been tied with ropes. The people were giving rest to their animals before their houses. She escaped one night from the bondage and came to the camels. As she drew near the camels, they fretted and fumed and so she left them until she came to al-, Adbi'. It did not fret and fume; it was docile She rode upon its back and drove it away and she went off. When they (the enemies of Islam) were warned of this, they went in search of it, but it (the she-camel) exhausted them. She (the woman) took vow for Allah, that in case He would save her through it, she would offer that as a sacrifice. As she reached Medina, the people saw her and they said: Here is al-Adbi, the she-camel of Allah' s Messenger (ﷺ). She (the woman) said that she had taken a vow that if Allah would save her on its back, she would sacrifice it. They (the Prophet' s Companions) came to Allah' s Messenger (ﷺ) and made a mention of that to him, whereupon he said: Hallowed be Allah, how ill she rewarded it that she took vow to Allah that if He saves her on its back, she would sacrifice it! There is no fulfillment of the vow in an act of disobedience, nor in an act over which a person has no control. In the version of Ibn Hujr (the words are): " There is no vow in disobedience to Allah."
Sahih Muslim 1641a
Chapters
1 Introduction 2 The Book of Faith 3 The Book of Purification 4 The Book of Menstruation 5 The Book of Prayers 6 The Book of Mosques and Places of Prayer 7 The Book of Prayer - Travellers 8 The Book of Prayer - Friday 9 The Book of Prayer - Two Eids 10 The Book of Prayer - Rain 11 The Book of Prayer - Eclipses 12 The Book of Prayer - Funerals 13 The Book of Zakat 14 The Book of Fasting 15 The Book of I'tikaf 16 The Book of Pilgrimage 17 The Book of Marriage 18 The Book of Suckling 19 The Book of Divorce 20 The Book of Invoking Curses 21 The Book of Emancipating Slaves 22 The Book of Transactions 23 The Book of Musaqah 24 The Book of the Rules of Inheritance 25 The Book of Gifts 26 The Book of Wills 27 The Book of Vows 28 The Book of Oaths 29 The Book of Oaths, Muharibin, Qasas(Retaliation), andDiyat(Blood Money) 30 The Book of Legal Punishments 31 The Book of Judicial Decisions 32 The Book of Lost Property 33 The Book ofJihadand Expeditions 34 The Book on Government 35 The Book of Hunting, Slaughter, and what may be Eaten 36 The Book of Sacrifices 37 The Book of Drinks 38 The Book of Clothes and Adornment 39 The Book of Manners and Etiquette 40 The Book of Greetings 41 The Book Concerning the Use of Correct Words 42 The Book of Poetry 43 The Book of Dreams 44 The Book of Virtues 45 The Book of the Merits of the Companions 46 The Book of Virtue, Enjoining Good Manners, and Joining of the Ties of Kinship 47 The Book of Destiny 48 The Book of Knowledge 49 The Book Pertaining to the Remembrance of Allah, Supplication, Repentance and Seeking Forgiveness 50 The Book of Heart-Melting Traditions 51 The Book of Repentance 52 Characteristics of The Hypocrites And Rulings Concerning Them 53 Characteristics of the Day of Judgment, Paradise, and Hell 54 The Book of Paradise, its Description, its Bounties and its Inhabitants 55 The Book of Tribulations and Portents of the Last Hour 56 The Book ofZuhdand Softening of Hearts 57 The Book of Commentary on the Qur'an