Sahih al-Bukhari 7154
Narrated Thabit Al-Bunani:
Anas bin Malik said to a woman of his family, "Do you know such-and-such a woman?" She replied, 
"Yes." He said, "The Prophet (ﷺ) passed by her while she was weeping over a grave, and he said to her, 
'Be afraid of Allah and be patient.' The woman said (to the Prophet). 'Go away from me, for you do 
not know my calamity.'" Anas added, "The Prophet (ﷺ) left her and proceeded. A man passed by her and 
asked her, 'What has Allah's Messenger (ﷺ) said to you?' She replied, 'I did not recognize him.' The man said, 
'He was Allah's Messenger (ﷺ)."' Anas added, "So that woman came to the gate of the Prophet (ﷺ) and she did 
not find a gate-keeper there, and she said, 'O Allah's Messenger (ﷺ)! By Allah. I did not recognize you!' The 
Prophet said, 'No doubt, patience is at the first stroke of a calamity.'"
حَدَّثَنَا إِسْحَاقُ، أَخْبَرَنَا عَبْدُ الصَّمَدِ، حَدَّثَنَا شُعْبَةُ، حَدَّثَنَا ثَابِتٌ الْبُنَانِيُّ، عَنْ أَنَسِ بْنِ مَالِكٍ، يَقُولُ لاِمْرَأَةٍ مِنْ أَهْلِهِ تَعْرِفِينَ فُلاَنَةَ قَالَتْ نَعَمْ‏.‏ قَالَ فَإِنَّ النَّبِيَّ صلى الله عليه وسلم مَرَّ بِهَا وَهْىَ تَبْكِي عِنْدَ قَبْرٍ فَقَالَ ‏"‏ اتَّقِي اللَّهَ وَاصْبِرِي ‏"‏‏.‏ فَقَالَتْ إِلَيْكَ عَنِّي، فَإِنَّكَ خِلْوٌ مِنْ مُصِيبَتِي‏.‏ قَالَ فَجَاوَزَهَا وَمَضَى فَمَرَّ بِهَا رَجُلٌ فَقَالَ مَا قَالَ لَكِ رَسُولُ اللَّهِ صلى الله عليه وسلم‏.‏ قَالَتْ مَا عَرَفْتُهُ قَالَ إِنَّهُ لَرَسُولُ اللَّهِ صلى الله عليه وسلم قَالَ فَجَاءَتْ إِلَى بَابِهِ فَلَمْ تَجِدْ عَلَيْهِ بَوَّابًا فَقَالَتْ يَا رَسُولَ اللَّهِ وَاللَّهِ مَا عَرَفْتُكَ‏.‏ فَقَالَ النَّبِيُّ صلى الله عليه وسلم ‏"‏ إِنَّ الصَّبْرَ عِنْدَ أَوَّلِ صَدْمَةٍ ‏"‏‏.‏