Complex sentence: The predominant position of Islamic scholars had been that a Muslim could not stay in a country where rulers made proper religious observance impossible: therefore, a Muslim's obligation was to leave when they were able to.
Split into simpler sentences: The predominant position of Islamic scholars had been that a Muslim could not stay in a country where rulers made proper religious observance impossible. Therefore, a Muslim's obligation was to leave, when they were able to.