Hazrat Ata says that the person with the greatest understanding of religion will lead the people in prayer.