The Messenger of Allah ﷺ said: Ali, do not instruct the imam during the prayer. Abu Dawud said: The narrator Abu Ishaq heard only for traditions from al-Harith, this tradition is not one of them.
قَالَ رَسُولُ اللَّهِ ﷺ يَا عَلِيُّ لاَ تَفْتَحْ عَلَى الإِمَامِ فِي الصَّلاَةِ