The Messenger of Allah said: "Whoever says, when he hears the Mu'adh-dhin, 'Wa ana Ash-hadu an la ilaha illallah wahdahu la sharika lahu, wa ash-hadu anna Muhammadan 'abduhu wa rasuluhu, radaytu Billahi rabban wa bil-islami dinan wa bi muhammadin nabiyyan (And I bear witness that none has the right to be worshipped but Allah alone, with no partner, and I bear witness that Muhammad is His slave and Messenger, and I am content with Allah as my Lord, Islam as my religion and Muhammad as my Prophet),' his sins will be forgiven to him."
عَنْ رَسُولِ اللَّهِ ﷺ أَنَّهُ قَالَ مَنْ قَالَ حِينَ يَسْمَعُ الْمُؤَذِّنَ وَأَنَا أَشْهَدُ أَنْ لاَ إِلَهَ إِلاَّ اللَّهُ وَحْدَهُ لاَ شَرِيكَ لَهُ وَأَشْهَدُ أَنَّ مُحَمَّدًا عَبْدُهُ وَرَسُولُهُ رَضِيتُ بِاللَّهِ رَبًّا وَبِالإِسْلاَمِ دِينًا وَبِمُحَمَّدٍ نَبِيًّا غُفِرَ لَهُ ذَنْبُهُ