"The Messenger (Muhammad ﷺ) believes in what has been sent down to him from his Lord..." (V.2:285)
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."
Reference
Sahih al-Bukhari 4546
In-book reference
Book 65, Hadith 69
USC-MSA web (English)
Vol. 6, Book 60, Hadith 69
Translation by Dr. M. Muhsin Khan · Language: EN
Sahih
Arabic Text
حَدَّثَنِي إِسْحَاقُ، أَخْبَرَنَا رَوْحٌ، أَخْبَرَنَا شُعْبَةُ، عَنْ خَالِدٍ الْحَذَّاءِ، عَنْ مَرْوَانَ الأَصْفَرِ، عَنْ رَجُلٍ، مِنْ أَصْحَابِ رَسُولِ اللَّهِ صلى الله عليه وسلم ـ قَالَ أَحْسِبُهُ ابْنَ عُمَرَ ـ {إِنْ تُبْدُوا مَا فِي أَنْفُسِكُمْ أَوْ تُخْفُوهُ} قَالَ نَسَخَتْهَا الآيَةُ الَّتِي بَعْدَهَا.