Urwa bin Zubayr reported,

Ayesha رضي الله عنها spoke about the verse "Allah will not hold you accountable for thoughtless words in your oaths" [Baqarah 2:225]. She said that it was revealed concerning a person's saying, "No, by Allah," and "Yes, by Allah."

Bukhari 6663

Sahih

حدثني محمد بن المثنى حدثنا يحيى

عن هشام قال أخبرني أبي

عن عائشة رضي الله عنها {لا يؤاخذكم الله باللغو في أيمانكم} قال قالت أنزلت في قوله لا والله بلى والله

البخاري 6663صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Oaths and vows
Chapter
Allah does not impose blame upon you for what is unintentional in your oaths, but He imposes blame upon you for what your hearts have earned. And Allah is Forgiving and Forbearing
Numbering
Darussalam 6663
Bukhari 6663