The Holy Prophet posted a contingent to guard the pass, and led the main army to Autas on the other side of the defile in pursuit of the enemy. In the confrontation at Autas, the tribes could not withstand the onslaught of the Muslims. Finding the resistance useless, the tribes broke the camp and retired to Taif. Immense booty fell in the hands of the Muslims. This included 24,000 camels and 4000 Oqiyahs of silver. The number of persons taken captive exceeded six thousand.
"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