The Messenger of Allah ﷺ said, "When you hear the call to prayer, repeat what the muezzin says."
حدثنا أبو بكر بن أبي شيبة وأبو كريب قالا حدثنا زيد بن الحباب عن مالك بن أنس عن الزهري عن عطاء بن يزيد الليثي
قال رسول الله ﷺ إذا سمعتم النداء فقولوا كما يقول المؤذن
Bukhari, adhan, chapter on what one should say when hearing the caller, hadith no. 611, and Muslim, prayer, chapter on the recommendation of saying the same as what the caller says for one who hears it, hadith no. 383, from the hadith of Malik.