Khamenei's flag-covered coffin was carried aloft into the shrine of Imam Reza in his home city of Mashhad in eastern Iran.