Hadith on Faith: Islam, Hajj, and emigration erase all sins before them

‘Amr ibn al-‘As reported: The Prophet, peace and blessings be upon him, said, “Do you not know that embracing Islam wipes away all sins committed before it, that emigration wipes away what came before it, and the Hajj pilgrimage wipes away what came before it?

Source: Ṣaḥīḥ Muslim 121

Grade: Sahih (authentic) according to Muslim

عن عمرو بن العاص عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ أَنَّهُ قَالَ أَمَا عَلِمْتَ أَنَّ الْإِسْلَامَ يَهْدِمُ مَا كَانَ قَبْلَهُ وَأَنَّ الْهِجْرَةَ تَهْدِمُ مَا كَانَ قَبْلِهَا وَأَنَّ الْحَجَّ يَهْدِمُ مَا كَانَ قَبْلَهُ

121 صحيح مسلم كتاب الإيمان باب كون الإسلام يهدم ما قبله وكذا الهجرة والحج