A man from the companions of Prophet Muhammad ﷺ narrated: I was traveling with the Prophet ﷺ when I heard a man reciting "Say: O disbelievers!" (Kāfirūn, 109:1) until he completed it. The Prophet ﷺ said, "He has been absolved from committing shrik (associating partners with Allah.)" Then we continued our journey and heard another person reciting "Say: He is Allah, the One." (Ikhlāṣ 112:1) The Prophet ﷺ said, "As for this person, his sins have been forgiven."
عَنْ رَجُلٍ مِنْ أَصْحَابِ النَّبِيِّ ﷺ قَالَ كُنْتُ أَسِيرُ مَعَ النَّبِيِّ ﷺ فَسَمِعَ رَجُلًا يَقْرَأُ {قُلْ يَا أَيُّهَا الْكَافِرُونَ} [الكافرون 1] حَتَّى خَتَمَهَا قَالَ «قَدْ بَرِئَ هَذَا مِنَ الشِّرْكِ» ثُمَّ سِرْنَا فَسَمِعَ آخَرَ يَقْرَأُ قُلْ هُوَ اللهُ أَحَدٌ فَقَالَ «أَمَّا هَذَا فَقَدْ غُفِرَ لَهُ»