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 me: "Ali! After your first glance falls upon a non-mahram, do not cast a second glance at her, for the first glance will be forgiven for you, but the second will not be forgiven."