Hadith.4302 - Isma'il ibn Sa'd asked Abu al-Hasan Imam Ali ibn Musa Ar-Ridha عليه السلام about a man who swears an oath, but his intention in the oath differs from the apparent wording.
Imam عليه السلام said: "The oath is based on the intention."
This means it is judged according to the intention of the one who is wronged.