It is narrated from an Ansari companion, may Allah be pleased with him, that the Noble Prophet, peace and blessings be upon him, said: If any of you sees a louse in his clothes, he should take it outside and not throw it in the mosque.
Hadith Referenceمسند احمد / مسند الأنصار رضي الله عنهم / 23485
Hadith Gradingحکم دارالسلام:إن كان الرجل الأنصاري صحابيا فهو منقطع، وإلا فهو مرسل لأن الحضرمي لا يروي إلا عن التابعين