"You must command people to do good deeds, and prevent them from doing forbidden things otherwise ALLAH will inflict a severe punishment upon you, and then your prayers even will not be accepted by Him." Whose statement is it?
Almighty Allah
Prophet Hazrat Mohammad (Sallallohu Alaihe Wasallam)
Hajrat Abu Bakar (Radhiallaho)
A religious scholar