they were commanded only to serve god with allexclusive faith in him to be upright and to fulfil their devotional obligations and to give zakat for this is the even way.
وما أمروا إلا ليعبدوا الله مخلصين له الدين حنفاء ويقيموا الصلاة ويؤتوا الزكاة وذلك دين القيمة