Narrated 'Aishah (RA) regarding the saying of Allah the Most High:
"Allah will not punish you for what is unintentional in your oaths (5:89)." She said: It (was sent down about such phrases as) a person's sayying: 'No, by Allah' and 'Yes, by Allah.'[al-Bukhari reported it (Mauquf, i.e. as a saying of 'Aishah). Abu Dawud reported it as Marfu' (attributed to the Prophet).] (AR)
Reference (AR): Bulugh al-Maram 1381 (AR)
In-book reference (AR): Book 13, Hadith 8 (AR)
English translation (AR): Book 13, Hadith 1381 (AR)