Surah Al-Maaidah
Aayat 5: 89
O Muslims, Allah doesn't hold you responsible for the oaths you take without thinking and without intention, just as a matter of Idom and idle talk.

Surely, Allah will surely hold you accountable for the oaths you have taken