Complex sentence: As punishment, the Lord said that the Sultan, in his next birth, will be born as a non-follower; but, as a reward for his having performed "puja" for 364 days, Lord Rama himself will appear before him.
Split into simpler sentences: As punishment, the Lord said that the Sultan in his next birth will be born as non-follower. And for his reward of performing the puja for 364 days, Lord Rama himself will appear before him.