they were commanded only to worship god offering him sincere devotion to be sincere in their faith to pray regularly and to give alms for that is the right religion.
وما أمروا إلا ليعبدوا الله مخلصين له الدين حنفاء ويقيموا الصلاة ويؤتوا الزكاة وذلك دين القيمة