(23) باب مَنْ رَأَى عَلَيْهِ كَفَّارَةً إِذَا كَانَ فِي مَعْصِيَةٍ
Narrated Uqbah ibn Amir al-Juhani:
Uqbah said to the Prophet (ﷺ): My sister has taken a vow that she will walk to the House of Allah (the Ka'bah). Thereupon he said: Allah will not do anything of the walking of your sister to the House of Allah (i.e. the Ka'bah).
Reference: Sunan Abi Dawud 3304
In-book reference: Book 22, Hadith 63
English translation: Book 21, Hadith 3298