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.
bayhaqi:3609Abū Zakariyyā b. Abū Isḥāq > Abū ʿAbdullāh b. Yaʿqūb > Muḥammad b. ʿAbd al-Wahhāb > Jaʿfar b. ʿAwn > Muslim al-Mulāʾī > Zādhān > al-Rabīʿ b. Khuthaym > Raʾá

[Machine] Did we not make the earth a resting place for the living and the dead? This is mentioned by Mujahid and Ibn Musayyib that they bury it like waste material. And it is narrated from Malik ibn Yakhamir that he said, "I saw Mu'adh ibn Jabal killing lice and fleas in prayer." And Hasan said, "There is no harm in killing lice in prayer, but one should not play around."  

البيهقي:٣٦٠٩وَأَخْبَرَنَا أَبُو زَكَرِيَّا بْنُ أَبِي إِسْحَاقَ أنبأ أَبُو عَبْدِ اللهِ بْنُ يَعْقُوبَ أنبأ مُحَمَّدُ بْنُ عَبْدِ الْوَهَّابِ أنبأ جَعْفَرُ بْنُ عَوْنٍ أنبأ مُسْلِمٌ الْمُلَائِيُّ عَنْ زَاذَانَ عَنِ الرَّبِيعِ بْنِ خُثَيْمٍ قَالَ رَأَى عَبْدُ اللهِ يَعْنِي ابْنَ مَسْعُودٍ ؓ قَمْلَةً عَلَى ثَوْبِ رَجُلٍ فِي الْمَسْجِدِ فَأَخَذَهَا فَدَفَنَهَا فِي الْحَصْبَاءِ ثُمَّ قَالَ

{أَلَمْ نَجْعَلِ الْأَرْضَ كِفَاتًا أَحْيَاءً وَأَمْوَاتًا} [المرسلات 26] وَيُذْكَرُ نَحْوُ هَذَا عَنْ مُجَاهِدٍ وَعَنِ ابْنِ الْمُسَيِّبِ يَدْفِنُهَا كَالنُّخَامَةِ وَرُوِّينَا عَنْ مَالِكِ بْنِ يَخَامِرَ أَنَّهُ قَالَ رَأَيْتُ مُعَاذَ بْنَ جَبَلٍ يَقْتُلُ الْقَمْلَةَ وَالْبَرَاغِيثَ فِي الصَّلَاةِ وَعَنِ الْحَسَنِ قَالَ لَا بَأْسَ بِقَتْلِ الْقَمْلِ فِي الصَّلَاةِ وَلَكِنْ لَا يَعْبَثُ