It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that a Bedouin came to the door of the Prophet (peace and blessings be upon him) and pressed his eye to a crack in the door. the Prophet (peace and blessings be upon him) saw him and went for him with an iron implement to put out his eye. Then, when the man saw the Prophet (peace and blessings be upon him) (coming towards him), he drew back. Then he said: "Beware! Had you stayed where you were, I would certainly have put out your eye."
Imam al-Nasa'i (may Allah have mercy on him) narrated it from Amr bin Mansur.
And Imam al-Tabarani (may Allah have mercy on him) narrated it from Ali bin Abd al-Aziz; both of them narrated it from Muslim bin Ibrahim.