Anas bin Malik reported,

The Prophet of Allah ﷺ came upon a woman who was weeping over her young child. He said to her, "Fear Allah and be patient."She replied, "What concern is my misfortune to you?"She was then told, "This is the Prophet ﷺ."So she came to him, and finding no doorkeepers at his door, she said, "Messenger of Allah, I did not recognize you."He said, "True patience is at the first shock," or "at the first moment of calamity."

Abu Dawud 3124

Sahih

حدثنا محمد بن المثنى حدثنا عثمان بن عمر حدثنا شعبة عن ثابت

عن أنس قال

أتى نبي الله ﷺ على امرأة تبكي على صبي لها فقال لها اتقي الله واصبري فقالت وما تبالي أنت بمصيبتي فقيل لها هذا النبي ﷺ فأتته فلم تجد على بابه بوابين فقالت يا رسول الله لم أعرفك فقال إنما الصبر عند الصدمة الأولى أو عند أول صدمة

أبو داود 3124صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Funerals
Chapter
Patience at the first shock
Numbering
Darussalam 3124
Abu Dawud 3124