Islamic rule expanded westward across North Africa and into Hispania and eastward through Persia and ultimately to Sindh and Punjab in modern day Pakistan . Islamic rule expanded westward across North Africa and into Hispania and eastward through Persia and ultimately to the ancient lands of Indus Valley , in modern day Pakistan .