Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
bukhari:1252Ādam > Shuʿbah > Thābit > Anas b. Mālik

The Prophet ﷺ passed by a woman who was sitting and weeping beside a grave and said to her, "Fear Allah and be patient."  

البخاري:١٢٥٢حَدَّثَنَا آدَمُ حَدَّثَنَا شُعْبَةُ حَدَّثَنَا ثَابِتٌ عَنْ أَنَسِ بْنِ مَالِكٍ ؓ قَالَ

مَرَّ النَّبِيُّ ﷺ بِامْرَأَةٍ عِنْدَ قَبْرٍ وَهِيَ تَبْكِي فَقَالَ اتَّقِي اللَّهَ وَاصْبِرِي