It is narrated from Sayyiduna Abu Hurairah, may Allah be pleased with him, that the Messenger of Allah, peace and blessings be upon him, said: "Indeed, Allah Almighty supports this religion through a wicked man."
Hadith Referenceالفتح الربانی / كتاب الإيمان و الإسلام / 109
Hadith Gradingمحدثین:صحیح
Hadith Takhrij«أخرجه البخاري: 3062، ومسلم: 111، (انظر مسند أحمد ترقيم الرسالة: )8090 ترقیم بيت الأفكار الدولية: 8076»
Brief Explanation
Benefits: … There are several forms of this; some are also related to the Prophetic era. For example, a sinful (fajir) ruler serving certain matters of Islam, or a sinful person constructing a mosque or a madrasa—these are examples of the same category.