صحيح مسلم
From Sahih Muslim (Hadith 4284):
Abu Huraira reported Allah's Messenger (ﷺ) as saying:An oath is to be interpreted according to the intention of the one who takes it
Reference: Muslim 4284