A man found a louse on his garment and took it to throw it in the mosque. The Messenger of Allah ﷺ said to him, "Do not do that. Put it back in your garment until you leave the mosque."
حدثنا محمد بن عبيد حدثنا محمد بن إسحاق عن طلحة بن عبيد الله يعني ابن كريز عن شيخ من أهل مكة من قريش
وجد رجل في ثوبه قملة فأخذها ليطرحها في المسجد فقال له رسول الله ﷺ لا تفعل ارددها في ثوبك حتى تخرج من المسجد
No references are available.
Its isnad is daif, because of the unknown identity of the narrator from Abu Ayub, but the hadith is sahih, having previously appeared with different wording at 23277.