Which Muslim empire was known for its grand and well-planned?

The Abbasid caliphate in Baghdad and the Ummayyad Caliphate in Spain