Sayyiduna Abu Burdah (may Allah be pleased with him) narrates that the Prophet (peace and blessings be upon him) did not offer the funeral prayer of Ma'iz bin Malik (may Allah be pleased with him), nor did he forbid offering it. And it has been narrated to us from Ali bin Abi Talib (may Allah be pleased with him) that when he stoned Shurahah al-Hamdaniyyah (may Allah be pleased with her), he said: Do with her what you do with your dead.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 6831