That the Messenger of Allah (ﷺ) said: "There is no vowing for disobedience, and its atonement is the atonement of an oath."
Jami` at-Tirmidhi Book 20, Hadith 1