It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "There is no ruler who is made the shepherd of a flock but he will surely be asked about that flock on the Day of Resurrection: whether he established the command of Allah among them or neglected it."
Hadith Referenceالمعجم الأوسط / باب الميم / 8713
Hadith Takhrij«أخرجه الطبراني فى «الأوسط» برقم: 4916»