If the Imam says, "Remain at your places till I return", then wait for him
باب إِذَا قَالَ الإِمَامُ مَكَانَكُمْ. حَتَّى رَجَعَ انْتَظَرُوهُ
Sahih al-Bukhari, Book of Call to Prayers (Adhaan)(view book)
Sahih al-Bukhari 640
Narrated Abu Huraira:
Once iqama was pronounced and the people had straightened the rows, Allah's Apostle went forward (to lead the prayer) but he was Junub, so he said, "Remain in your places." And he went out, took a bath and returned with water trickling from his head. Then he led the prayer.
حَدَّثَنَا إِسْحَاقُ، قَالَ حَدَّثَنَا مُحَمَّدُ بْنُ يُوسُفَ، قَالَ حَدَّثَنَا الأَوْزَاعِيُّ، عَنِ الزُّهْرِيِّ، عَنْ أَبِي سَلَمَةَ بْنِ عَبْدِ الرَّحْمَنِ، عَنْ أَبِي هُرَيْرَةَ، قَالَ أُقِيمَتِ الصَّلاَةُ فَسَوَّى النَّاسُ صُفُوفَهُمْ، فَخَرَجَ رَسُولُ اللَّهِ ﷺ فَتَقَدَّمَ وَهْوَ جُنُبٌ ثُمَّ قَالَ " عَلَى مَكَانِكُمْ ". فَرَجَعَ فَاغْتَسَلَ ثُمَّ خَرَجَ وَرَأْسُهُ يَقْطُرُ مَاءً فَصَلَّى بِهِمْ.
Classification
Sahih (Authentic)