صحيح البخاري Sahih Bukhari كتاب الجنائز The Book of Al-Janaiz (Funerals)
بَابُ قَوْلِ الرَّجُلِ لِلْمَرْأَةِ عِنْدَ الْقَبْرِ اصْبِرِي:

(7) Chapter. The saying of a man to a woman at the grave, “Be patient.”

1 hadith
Hadith 1252
حَدَّثَنَا آدَمُ ، حَدَّثَنَا شُعْبَةُ ، حَدَّثَنَا ثَابِتٌ ، عَنْ أَنَسِ بْنِ مَالِكٍ رَضِيَ اللَّهُ عَنْهُ , قَالَ : " مَرَّ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ بِامْرَأَةٍ عِنْدَ قَبْرٍ وَهِيَ تَبْكِي , فَقَالَ : اتَّقِي اللَّهَ وَاصْبِرِي " .
Narrated Anas bin Malik: The Prophet passed by a woman who was sitting and weeping beside a grave and said to her, "Fear Allah and be patient."
Hadith Reference Sahih Bukhari / The Book of Al-Janaiz (Funerals) / Hadith: 1252
Hadith Grading محدثین: أحاديث صحيح البخاريّ كلّها صحيحة