Sahih al-Bukhari — Oaths and Vows — Hadith No: 6626
Translation
Narrated Abu Huraira:Allah's Messenger (ﷺ) said, "Anyone who takes an oath through which his family may be harmed, and insists on keeping it, he surely commits a sin greater (than that of dissolving his oath). He should rather compensate for that oath by making expiation