Bulugh al-Maram, Book 13, Hadith 1381 (English)

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).]

وَعَنْ عَائِشَةَ رَضِيَ اَللَّهُ عَنْهَا { فِي قَوْلِهِ تَعَالَى: ﴿ لَا يُؤَاخِذُكُمُ اَللَّهُ بِاللَّغْوِ فِي أَيْمَانِكُمْ ﴾ 1‏ قَالَتْ: هُوَ قَوْلُ اَلرَّجُلِ: لَا وَاَللَّهِ.‏ بَلَى وَاَللَّهِ } أَخْرَجَهُ اَلْبُخَارِيُّ 2‏.‏ وَأَوْرَدَهُ أَبُو دَاوُدَ مَرْفُوعاً 3‏.‏ ‏1 ‏- صحيح.‏ رواه البخاري ( 6920 )‏.‏ ‏2 ‏- صحيح.‏ رواه البخاري ( 6663 )‏.‏‏3 ‏- رواه أبو داود ( 3254 )‏ وأشار أبو داود إلى وقفه، وهو الذي صححه الدارقطني.‏

sunnah.com

also referenced under: Book 13, Hadith 8 (In-Book)