Prayer in a historic mosque