It is narrated from Sayyiduna Abu Ayyub al-Ansari (may Allah be pleased with him) that "a man took a louse from his garment to throw it in the mosque, and the Messenger of Allah (peace and blessings be upon him) said to him: 'Put it back in your own garment.'"
In his second chain, Imam Ishaq (may Allah have mercy on him) narrated it from Talhah bin Ubaydullah bin Kurayz (may Allah have mercy on him), and he from an elder of the people of Madinah, that "the Messenger of Allah (peace and blessings be upon him) saw a man who had taken hold of a louse," and then the narrator mentioned the story just like the previous narration.
Imam Abu Bakr bin Abi Shaybah (may Allah have mercy on him) recorded it with the chain of Talhah bin Ubaydullah bin Kurayz (may Allah have mercy on him), and he from an elder of the people of Makkah from Quraysh, that "a man found a louse in his garment and took hold of it to throw it in the mosque, and the Messenger of Allah (peace and blessings be upon him) instructed him: 'Do not do that; rather, put it back in your garment until you leave the mosque.'"
I (al-Busiri) say: Imam Ahmad bin Hanbal (may Allah have mercy on him) also recorded it with the chain of Muhammad bin Ubayd (may Allah have mercy on him), and he too mentioned the hadith in the same way.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب المساجد / 997
Hadith Gradingمحدثین:أسانيده ضعيفة؛ لعنعنة ابن إسحاق والانقطاع وإبهام الواسطة
Hadith Takhrij«(997/1) أخرجه مسند أحمد برقم: 23046، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 2017» «(997/2) أخرجه مسند أحمد برقم: 23046، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 2017»