Hadithcore
Sahih al-Bukhari, 4546
sahih

Narrated Marwan Al-Asghar:

A man from the companions of Allah's Messenger (ﷺ) who I think, was Ibn `Umar said, "The Verse:-- "Whether you show what is in your minds or conceal it...." was abrogated by the Verse following it."

حَدَّثَنِي إِسْحَاقُ، أَخْبَرَنَا رَوْحٌ، أَخْبَرَنَا شُعْبَةُ، عَنْ خَالِدٍ الْحَذَّاءِ، عَنْ مَرْوَانَ الأَصْفَرِ، عَنْ رَجُلٍ، مِنْ أَصْحَابِ رَسُولِ اللَّهِ صلى الله عليه وسلم ـ قَالَ أَحْسِبُهُ ابْنَ عُمَرَ ـ ‏{‏إِنْ تُبْدُوا مَا فِي أَنْفُسِكُمْ أَوْ تُخْفُوهُ‏}‏ قَالَ نَسَخَتْهَا الآيَةُ الَّتِي بَعْدَهَا‏.‏

References2 variants
In-Book Reference
Book 65, Hadith 69
USC-MSA web (English) reference
Vol. 6, Book 60, Hadith 69 (deprecated numbering scheme)
Related hadiths1
Compare isnād across 1 related chains →