Thabit said: I heard Anas (may Allah be pleased with him) saying to some of his family: Do you know such-and-such a woman? The Prophet (peace and blessings be upon him) passed by her while she was weeping beside a grave. He (peace and blessings be upon him) said: "Fear Allah and be patient." She said: Leave me alone; a calamity like mine has not befallen you. It was said to the woman: That was the Messenger of Allah (peace and blessings be upon him). Something like death seized her, and she went to his door. Finding no doorkeepers, she went in and said: O Messenger of Allah (peace and blessings be upon him)! I did not recognise you. He (peace and blessings be upon him) said: "Lady! Patience is at the first shock."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب آداب القاضي / 20256