It is narrated from Sayyiduna Ali (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said to him: "O Ali, you indeed have a treasure in Paradise, and you are the Dhu al-Qarnayn of this (Ummah). So do not follow a glance with another glance, for the first glance is (permissible) for you, but the second is not (permissible) for you."
Imam al-Tabarani (may Allah have mercy on him) said: "Hammad bin Salamah (may Allah have mercy on him) is alone in narrating it."
Imam Ahmad (may Allah have mercy on him) narrated it from Affan, from Hammad.
Abu Hatim Ibn Hibban (may Allah have mercy on him) also narrated it from Abdullah bin Ahmad bin Musa, from Hudbah.
Imam al-Tabarani (may Allah have mercy on him) narrated it from Ali bin Abd al-Aziz, from Hajjaj bin Minhal, from Hammad, with a similar meaning,
and from Ahmad bin Ali al-Abbar, from Ubaydullah bin Muhammad bin Aishah.