Abu Huraira reported Allah's Messenger (ﷺ) as saying
An oath is to be interpreted according to the intention of the one who takes it.