Moroccans worked on Sunday to rescue survivors and prayed for victims of the nation’s strongest earthquake in more than a century.