(2) باب مَنْ نَذَرَ أَنْ يُطِيعَ اللَّهَ فَلْيُطِعْهُ
Narrated 'Aishah:
That the Prophet (ﷺ) said: "Whoever vowed to obey Allah, then he should obey Him. And whoever vowed to disobey Allah, then he should not disobey Him."
Reference: Jami` at-Tirmidhi 1526
In-book reference: Book 20, Hadith 3
English translation: Vol. 3, Book 18, Hadith 1526