عَنْ مُجَاهِدٍ رَضِيَ اللَّهُ عَنْهُ قَالَ دَخَلْتُ عَلَى ابْنِ عَبَّاسٍ رَضِيَ اللَّهُ عَنْهُمَا فَقُلْتُ يَا أَبَا عَبَّاسٍ كُنْتُ عِنْدَ ابْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا فَقَرَأَ هَذِهِ الْآيَةَ فَبَكَى قَالَ أَيَّةُ آيَةٍ قُلْتُ إِنْ تُبْدُوا مَا فِي أَنْفُسِكُمْ أَوْ تُخْفُوهُ يُحَاسِبْكُمْ بِهِ اللَّهُ [سورة البقرة: ٢٨٤] قَالَ ابْنُ عَبَّاسٍ إِنَّ هَذِهِ الْآيَةَ حِينَ أُنْزِلَتْ غَمَّتْ أَصْحَابَ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ غَمًّا شَدِيدًا وَغَاظَتْهُمْ غَيْظًا شَدِيدًا يَعْنِي وَقَالُوا يَا رَسُولَ اللَّهِ هَلَكْنَا إِنْ كُنَّا نُؤَاخَذُ بِمَا تَكَلَّمْنَا وَبِمَا نَعْمَلُ فَأَمَّا قُلُوبُنَا فَلَيْسَتْ بِأَيْدِينَا فَقَالَ لَهُمْ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قُولُوا سَمِعْنَا وَأَطَعْنَا قَالَ فَنَسَخَتْهَا هَذِهِ الْآيَةُ آمَنَ الرَّسُولُ بِمَا أُنْزِلَ إِلَيْهِ مِنْ رَبِّهِ وَالْمُؤْمِنُونَ [سورة البقرة: ٢٨٥] إِلَى لَا يُكَلِّفُ اللَّهُ نَفْسًا إِلَّا وُسْعَهَا لَهَا مَا كَسَبَتْ وَعَلَيْهَا مَا اكْتَسَبَتْ [سورة البقرة: ٢٨٦] فَتُجُوِّزَ لَهُمْ عَنْ حَدِيثِ النَّفْسِ وَأُخِذُوا بِالْأَعْمَالِ
Mujahid says: I entered upon Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) and said: O Abu Abbas! I was with Sayyiduna Abdullah bin Umar (may Allah be pleased with them both), he recited this verse and began to weep. He asked: Which verse? I said: This verse {لِلّٰہِ مَا فِی السَّمٰوَاتِ وَمَا فِی الْأَ رْضِ وَإِنْ تُبْدُوا مَا فِی أَنْفُسِکُمْ أَوْ تُخْفُوہُ یُحَاسِبْکُمْ بِہِ اللّٰہُ … } … To Allah belongs whatever is in the heavens and whatever is in the earth, and whether you disclose what is in your hearts or conceal it, Allah will call you to account for it. Sayyiduna Ibn Abbas (may Allah be pleased with them both) said: When this verse was revealed, the Companions were greatly distressed and said: O Messenger of Allah! We have been destroyed, if we are taken to account for our words and deeds (that is understandable), but our hearts are not under our control. The Prophet (peace and blessings be upon him) said: Say: We have heard and we obey. Then this verse abrogated the ruling of that verse {آمَنَ الرَّسُولُ بِمَا أُنْزِلَ إِلَیْہِ مِنْ رَبِّہِ وَالْمُؤْمِنُونَ … … لَا یُکَلِّفُ اللّٰہُ نَفْسًا إِلَّا وُسْعَہَا لَہَا مَا کَسَبَتْ وَعَلَیْہَا مَا اکْتَسَبَتْ} thus the thoughts of the soul were forgiven and accountability was kept for actions.