Umar bin Khattab reported,

The Messenger of Allah ﷺ said, "When the muezzin says, 'Allah is the greatest, Allah is the greatest,' and one of you responds, 'Allah is the greatest, Allah is the greatest,' then he says, 'I bear witness that there is no god but Allah,' and the listener says, 'I bear witness that there is no god but Allah,' then he says, 'I bear witness that Muhammad is the Messenger of Allah,' and the listener says, 'I bear witness that Muhammad is the Messenger of Allah,' then he says, 'Come to prayer,' and the listener says, 'There is no power and no strength except through Allah,' then he says, 'Come to success,' and the listener says, 'There is no power and no strength except through Allah,' then he says, 'Allah is the greatest, Allah is the greatest,' and the listener says, 'Allah is the greatest, Allah is the greatest,' then he says, 'There is no god but Allah,' and the listener says, 'There is no god but Allah,' from his heart, he will enter Paradise."

Abu Dawud 527

Sahih

حدثنا محمد بن المثنى حدثني محمد بن جهضم حدثنا إسمعيل بن جعفر عن عمارة بن غزية عن حبيب بن عبد الرحمن بن إساف عن حفص بن عاصم بن عمر عن أبيه

عن جده عمر بن الخطاب رضي الله عنه

أن رسول الله ﷺ قال إذا قال المؤذن الله أكبر الله أكبر فقال أحدكم الله أكبر الله أكبر فإذا قال أشهد أن لا إله إلا الله قال أشهد أن لا إله إلا الله فإذا قال أشهد أن محمدا رسول الله قال أشهد أن محمدا رسول الله ثم قال حي على الصلاة قال لا حول ولا قوة إلا بالله ثم قال حي على الفلاح قال لا حول ولا قوة إلا بالله ثم قال الله أكبر الله أكبر قال الله أكبر الله أكبر ثم قال لا إله إلا الله قال لا إله إلا الله من قلبه دخل الجنة

أبو داود 527صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Prayer
Chapter
What to say when hearing the muezzin
Numbering
Darussalam 527
Abu Dawud 527