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.
abudawud:4409Musaddad > Ḥammād b. Zayd > Abū ʿImrān > al-Mushaʿʿath b. Ṭarīf > ʿAbdullāh b. al-Ṣāmit > Abū Dhar

The Messenger of Allah ﷺ said to me: O AbuDharr: I replied: At your service and at your pleasure, Messenger of Allah! He said: how will you do when death smites people, and a house, meaning a grave, will cost as much as a slave. I said: Allah and His Apostle know best, or he said: What Allah and His Apostle choose for me. He said: Show endurance, or he said: You may show endurance. Abu Dawud said: Hammad b. Abi Sulaiman said: The hand of one who rifles a grave should be cut off because he had entered the deceased's house.  

أبو داود:٤٤٠٩حَدَّثَنَا مُسَدَّدٌ حَدَّثَنَا حَمَّادُ بْنُ زَيْدٍ عَنْ أَبِي عِمْرَانَ عَنِ الْمُشَعَّثِ بْنِ طَرِيفٍ عَنْ عَبْدِ اللَّهِ بْنِ الصَّامِتِ عَنْ أَبِي ذَرٍّ قَالَ قَالَ

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

قَالَ أَبُو دَاوُدَ قَالَ حَمَّادُ بْنُ أَبِي سُلَيْمَانَ يُقْطَعُ النَّبَّاشُ لأَنَّهُ دَخَلَ عَلَى الْمَيِّتِ بَيْتَهُ

See similar narrations below:

Collected by Bayhaqī
bayhaqi:17238Abū al-Ḥasan ʿAlī b. Muḥammad al-Muqriʾ > al-Ḥasan b. Muḥammad b. Isḥāq > Yūsuf b. Yaʿqūb al-Qāḍī > Abū al-Rabīʿ > Ḥammād b. Zayd > Abū ʿImrān > al-Mushaʿʿath b. Ṭarīf > ʿAbdullāh b. al-Ṣāmit > Abū Dhar

The Messenger of Allah ﷺ said to me: O AbuDharr: I replied: At your service and at your pleasure, Messenger of Allah! He said: how will you do when death smites people, and a house, meaning a grave, will cost as much as a slave. I said: Allah and His Apostle know best, or he said: What Allah and His Apostle choose for me. He said: Show endurance, or he said: You may show endurance. Abu Dawud said: Hammad b. Abi Sulaiman said: The hand of one who rifles a grave should be cut off because he had entered the deceased's house. (Using translation from Abū Dāʾūd 4409)   

البيهقي:١٧٢٣٨أَخْبَرَنَا أَبُو الْحَسَنِ عَلِيُّ بْنُ مُحَمَّدٍ الْمُقْرِئُ أنبأ الْحَسَنُ بْنُ مُحَمَّدِ بْنِ إِسْحَاقَ ثنا يُوسُفُ بْنُ يَعْقُوبَ الْقَاضِي ثنا أَبُو الرَّبِيعِ ثنا حَمَّادُ بْنُ زَيْدٍ عَنْ أَبِي عِمْرَانَ عَنِ الْمُشَعَّثِ بْنِ طَرِيفٍ عَنْ عَبْدِ اللهِ بْنِ الصَّامِتِ عَنْ أَبِي ذَرٍّ ؓ قَالَ

قَالَ رَسُولُ اللهِ ﷺ يَا أَبَا ذَرٍّ قُلْتُ لَبَّيْكَ وَسَعْدَيْكَ قَالَ كَيْفَ أَنْتَ إِذَا أَصَابَ النَّاسَ مَوْتٌ يَكُونُ الْبَيْتُ فِيهِ بِالْوَصِيفِ؟ يَعْنِي الْقَبْرَ قَالَ قُلْتُ اللهُ وَرَسُولُهُ أَعْلَمُ أَوْ مَا خَارَ اللهُ وَرَسُولُهُ قَالَ عَلَيْكَ بِالصَّبْرِ