Sahih al-Bukhari
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
حَدَّثَنِي إِسْحَاقُ، أَخْبَرَنَا رَوْحٌ، أَخْبَرَنَا شُعْبَةُ، عَنْ خَالِدٍ الْحَذَّاءِ، عَنْ مَرْوَانَ الأَصْفَرِ، عَنْ رَجُلٍ، مِنْ أَصْحَابِ رَسُولِ اللَّهِ صلى الله عليه وسلم ـ قَالَ أَحْسِبُهُ ابْنَ عُمَرَ ـ {إِنْ تُبْدُوا مَا فِي أَنْفُسِكُمْ أَوْ تُخْفُوهُ} قَالَ نَسَخَتْهَا الآيَةُ الَّتِي بَعْدَهَا.
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."
Full reference and source
Sahih al-Bukhari USC-MSA web (English) : Vol. 6, Book 60, Hadith 69 Arabic : Book 65, Hadith 4546
View source on Sunnah.com (opens in a new tab)