Sayyiduna Ibn Mas'ud (may Allah be pleased with him) said, concerning the saying of Allah Almighty: "And whether you reveal what is in your hearts or conceal it" [Surah al-Baqarah: 284]: "It was abrogated by the verse after it: 'For it is what it has earned, and against it is what it has committed' [Surah al-Baqarah: 286]."
Hadith Referenceالمعجم الكبير للطبراني / باب العين / 8998