Abu Haraira reported Allah's Messenger (ﷺ) as saying
Your oath should be about something regarding which your companion will believe you. 'Amr said: By which your companion will believe you.
Abu Huraira reported Allah's Messenger (ﷺ) as saying
An oath is to be interpreted according to the intention of the one who takes it.