The Prophet ﷺ said: to Ali: Do not give a second look, Ali, (because) while you are not to blame for the first, you have no right to the second. (Using translation from Abū Dāʾūd 2149)
عَنِ النَّبِيِّ ﷺ أَنَّهُ قَالَ لِعَلِيٍّ يَا عَلِيُّ لَا تُتْبِعِ النَّظْرَةَ النَّظْرَةَ؛ فَإِنَّ لَكَ الْأُولَى وَلَيْسَتْ لَكَ الْآخِرَةُ