That the Prophet (ﷺ) said: "It is not for a person to vow about that over which he has no control."
Jami` at-Tirmidhi Book 20, Hadith 5