عَنْ اِبْنِ عُمَرَ رَضِيَ اَللَّهُ عَنْهُمَا, { عَنْ رَسُولِ اَللَّهِ ‏- صلى الله عليه وسلم ‏-أَنَّهُ أَدْرَكَ عُمَرَ بْنَ اَلْخَطَّابِ فِي رَكْبٍ, وَعُمَرَ يَحْلِفُ بِأَبِيهِ, فَنَادَاهُمْ رَسُولُ اَللَّهِ ‏- صلى الله عليه وسلم ‏-"أَلَا إِنَّ اَللَّهَ يَنْهَاكُمْ أَنْ تَحْلِفُوا بِآبَائِكُمْ, فَمَنْ كَانَ حَالِفاً فَلْيَحْلِفْ بِاَللَّهِ, أَوْ لِيَصْمُتْ"} مُتَّفَقٌ عَلَيْهِ 1‏ .‏‏1 ‏- صحيح.‏ رواه البخاري ( 6646 )‏، ومسلم ( 1646 )‏ ( 3 )‏.‏
Translation
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).]