The director revealed that the team had spent nearly a year and a half studying Islamic law to ensure accuracy