Hadith 3186

حَدَّثَنَا أَبُو كَامِلٍ ، حَدَّثَنَا أَبُو عَوَانَةَ ، عَنْ أَبِي بِشْرٍ ، حَدَّثَنِي نَفَرٌ مِنْ أَهْلِ الْبَصْرَةِ ، عَنْ أَبِي بَرْزَةَ الْأَسْلَمِيِّ ، أَنّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ " لَمْ يُصَلِّ عَلَى مَاعِزِ بْنِ مَالِكٍ ، وَلَمْ يَنْهَ عَنِ الصَّلَاةِ عَلَيْهِ " .
Narrated Abu Barzah al-Aslami: The Messenger of Allah ﷺ did not pray over Maiz ibn Malik, and he did not prohibit to pray over him.
Hadith Reference سنن ابي داود / كتاب الجنائز / 3186
Hadith Grading الألبانی: حسن صحيح ق جابر دون قوله ولم ينه عن الصلاة عليه  |  زبیر علی زئی: ضعيف, إسناده ضعيف, النفر البصريون كلھم مجھولون, وحديث عبد الرزاق (13339) والبخاري (6820) يغني عنه, انوار الصحيفه، صفحه نمبر 117
Hadith Takhrij « تفرد بہ أبو داود، (تحفة الأشراف: 11610) (حسن صحیح) » (اس کی سند میں نفر من أهل البصرة مبہم رواة ہیں، لیکن یہ جماعت تابعین کثرت کی وجہ سے قابل استناد ہیں، نیز جابر کی صحیح حدیث (ابو داود حدیث نمبر (4430) سے اس کو تقویت ہے)
Explanation & Benefits
Shaykh Umar Farooq Saeedi
Benefits and Issues:

According to some narrations, the Messenger of Allah (sallallahu alayhi wa sallam) did not perform the funeral prayer for Ma'iz bin Malik (radi Allahu anhu), but he did perform the funeral prayer for the Ghamidiyyah woman.
And both of them were stoned to death as the prescribed punishment (hadd) for adultery (zina).

In such matters, the Imam may act in any manner he deems appropriate according to the situation.
However, ordinary Muslims should perform their funeral prayer.
For details regarding the narrations of the story of Ma'iz, see:
I'laa al-Ghaleel, vol. 7, hadith 2322. Meanwhile, Allamah Shawkani considers the narration that the funeral prayer was performed for Ma'iz (radi Allahu anhu) to be the stronger opinion.
(Nayl al-Awtar, Chapter: The Prayer over One Killed in the Prescribed Punishment)
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 3186