Sunan an-Nasa'i #859
The Book of Leading the Prayer (Al-Imamah) 10:83
It was narrated that Ahu Dharr said:
"The Messenger of Allah (ﷺ) said to me, and struck my thigh: 'What will you do if you stay among people who delay the prayer until its time is over?' He said: 'What do you command me to do?' He said: 'Offer the prayer on time, then go about your business. Then if the Iqamah for that prayer is saidand you are in the Masjid, then pray.'"