Khalid was expecting that he would have to fight for Hirah. Therefore, instead of approaching Hirah from the front, Khalid made a detour and approached Hirah from the rear. When the Muslims reached the gates of the city, there was no Persian army to oppose them. When Azarbeh came to know of the death of his son, he was smitten with grief. In the meantime Ardsheer the emperor of Persia died and Persia came to be rocked by succession disputes. That unnerved Azarbeh. He abandoned Hirah, and fled with the Persian forces to Madain. Under the circumstances, the Muslims occupied the city of Hirah without any resistance.
"When a person dies, his works end, except for three: ongoing charity, knowledge that is benefited from, and a righteous child who prays for him."
Prophet Mohammed (PBUH)
"The best of what a man leaves behind are three: a righteous child who supplicates for him, ongoing charity the reward of which reaches him, and knowledge that is acted upon after him."
Sunan Ibn Mājah
"Every day two angels come down from Heaven and one of them says, 'O Allah! Compensate every person who spends in Your Cause,' and the other (angel) says, 'O Allah! Destroy every miser.'"
Sahih Bukhari