Reverse the fate of Sassanids and Byzantines

What would it take for the Byzantine Empire was conquered by the Islamic armies for the Sassanids to take a harsh beating but still end up surviving with a significant portion of their territory?

I'm aware that the original plans of Caliph Umar was to get a peace treaty from the Persians with the presumption that they were too powerful a foe to subdue and it was best to end any military engagements but the reigning Shah wasn't savvy with having one of the empire's richest provinces snatched by a bunch of desert nomads and ordered raids, which eventually pissed off the Arabs and sent them into conquering the rest of Persia.

So what if the Persian king decides to not bother attacking the Muslims, maybe bunker down and build fortifications along the Zagros, to protect the border from future attack? He'd be unpopular with the nobility who might prefer an offensive strike leading to an interesting political situation, maybe inviting Turkic tribes as mercenaries to protect him from the good chance of being overthrown by some ambitious satrap?

The effect of this could have the Nestorian Christians, concentrated in Mesopotamia and not allowed to convert in Islamic lands, to convert the Persian masses to Nestorian Christianity. Maybe a future Persian shah pulls a Constantine and embraces Nestorianism or will there be reforms to Zoroastrianism to avoid it being sidelined?
 
Well if Persia doesn't fall then Islam gets Hellenize a lot. Even if Constantinople doesnt fall so long as Persia isnt conquered Islam would be more Westernized in the Greece vs Persia sense.
 
The main concern is the Sassanid State itself which was in a sate I utter shambles after not only loseing the their war with the Byzantines with their main economic region all beat up but suffered intense civil war several times by the time of the Islamic Invasion.

I put the blame on Khosrau mostly. Trying to take Constantinople pretty much ruined them. I suppose possible alternatives include Heraclius being killed leading to a divided Byzantine Empire that is in Civil War by the time the Caliphate rises.
 
Assuming we could reverse the fates of the Sassanids and Byzantines, how will this have an effect on the Avar incursions into Byzantine territory?
 
Speaking as someone who did actually do a timeline based on the premise of the peace treaty succeeding, I'm unsure it was actually a thing. The quote of Umar claiming him to have wanted to not invade Iran seems like something later attributed to him rather than an actual intent to not attack the Plateau.
 
Top