The Messenger of Allah ﷺ said, "Whoever says, when he hears the caller to prayer, 'I too bear witness that there is no god but Allah alone, with no partner, and I bear witness that Muhammad is His servant and Messenger. I am content with Allah as my Lord, with Islam as my religion, and with Muhammad as my Prophet,' his sins will be forgiven."
حدثنا محمد بن رمح المصرى أنبأنا الليث بن سعد عن الحكيم بن عبد الله بن قيس عن عامر بن سعد بن أبي وقاص
عن رسول الله ﷺ أنه قال من قال حين يسمع المؤذن وأنا أشهد أن لا إله إلا الله وحده لا شريك له وأشهد أن محمدا عبده ورسوله رضيت بالله ربا وبالإسلام دينا وبمحمد نبيا غفر له ذنبه