From a man among the companions of the Messenger of Allah ﷺ, whom I think was Ibn Umar, regarding the verse "Whether you disclose what is within yourselves or conceal it" [Baqarah 2:284], he said, "It was abrogated by the verse that follows it."
حدثني إسحاق بن منصور أخبرنا روح أخبرنا شعبة عن خالد الحذاء
عن رجل من أصحاب رسول الله ﷺ قال أحسبه ابن عمر {إن تبدوا ما في أنفسكم أو تخفوه} قال نسختها الآية التي بعدها