fiqhsalatniyyaimamdivergence
In the Maliki school, the follower must pray the same prayer as the imam: no Dhuhr behind someone praying Asr, no obligatory prayer behind a supererogatory one; a supererogatory prayer behind an obligatory one is allowed. The Shafii school permits a different obligatory prayer, and the Ichaa behind the Tarawih imam; one of the two Hanbali reports also permits it.