This hadith was narrated by Abu Dawood (4410) and an-Nasa’i (4978), and it is a munkar hadith that is not authentic.
An-Nasa’i said after its narration: “This hadith is munkar, and Musab bin Thabit is not strong in the hadith.” End.
The majority of jurists did not accept this hadith due to its weakness, and because it is possible that this man apostatized, and for this reason he was killed and thrown into the well.
Sindi said: "The jurists doesn't apply what's mentioned here; it was said: he found him an apostate which is the reason for killing him . Such a humiliation, is not befitting the condition of a Muslim.” End.
هذا الحديث رواه أبو داود (4410)، والنسائي (4978)، وهو حديث منكر لا يصح.
قال النسائي بعد روايته: "وَهَذَا حَدِيثٌ مُنْكَرٌ، وَمُصْعَبُ بْنُ ثَابِتٍ لَيْسَ بِالْقَوِيِّ فِي الْحَدِيثِ" انتهى.
ولم يأخذ جمهور الفقهاء بهذا الحديث لضعفه، ولأنه يحتمل أن هذا الرجل ارتد، ولهذا قتل، وألقي في البئر.
قال السندي: " وَالْفُقَهَاء على خِلَافه، فَقيل لَعَلَّه وجد مِنْهُ ارتدادا أوجب قَتله . وَهَذَا الِاحْتِمَال أوفق بِمَا فِي حَدِيث جَابر : أَنهم جروه ، وألقوه فِي الْبِئْر ؛ إِذْ الْمُؤمن وان ارْتكب كَبِيرَة ، فَإِنَّهُ يقبر وَيصلى عَلَيْهِ ، لَا سِيمَا بعد إِقَامَة الْحَد وتطهيره . وَأما الإهانة بِهَذَا الْوَجْه : فَلَا تلِيق بِحَال الْمُسلم" انتهى.