Short answer

They are wiped away. A man named Amr came to the Prophet (ﷺ) to accept Islam, then pulled back his hand. He wanted to be sure his past would be forgiven first. The Prophet (ﷺ) asked him whether he did not know that Islam wipes out all that came before it. The Qur'an promises even more. For those who repent, believe and do good, God (﷾) changes their bad deeds into good ones. It also says that God (﷾) forgives all sins to those who turn back to Him, so no one should despair of His mercy. The Bible taught the same through Ezekiel: if the wicked man turns from his sins, none of them will be held against him. That is the mercy Islam offers.

Read the full explanation

See your saved pages