Ali Erbas, head of the Religious Affairs Directorate, delivered a sermon on television to help stem the virus’ spread.