The first generation of Muslims

Indeed, Allah was pleased with the believers when they gave their Baiy’ah [pledge] to you [O’ Muhammad] under the tree, he knew what was in their hearts, and He sent down As-Sakinah [calmness and tranquility] upon them, and He rewarded them with a near victory.          (Qur’an 48: 18)

This verse explains the highest goal of the believers: achieving the pleasure of Allah. Allah’s was being pleased with you is the most precious thing that you have to gain. This verse mentions Allah’s pleasure for the first generation of Muslims. In other verses, He mentions forgiveness and pardon for them:

That Allah may forgive you your sins of the past and the future…  (Qur ‘an 48: 2)

Allah has forgiven the Prophet, the Muhajiroon [Muslim emigrants who left their homes and came to Al-Madeenah] and the Ansaar [Muslims of Al-Madeenah]… 
(Qur ‘an 9: 117)

May Allah forgive you [O’ Muhammad]? Why did you grant them leave? (Qur’an 9: 43)

Seeking Allah’s pleasure, the companions made a pledge under the tree to sacrifice their lives. Why? Through their martyrdom, the religion grew and spread.
Allah, the Exalted, knew that a high level of faith dwelt in their hearts. They toiled, sweated, starved, and were tortured, but the important thing to these noble hearts was that Allah was pleased with them.

They were separated from their families, their wealth, and their homes only to face harsh realities of desert travel to another land, but they cared only for Allah and His being pleased with them.

Was the reward of these defenders of Islam camels, goats, or money? Do you think that these things would have the effect of soothing their hearts? Never! What soothed their hearts was the pleasure of Allah, His forgiveness, and His eternal reward:

And their recompense shall be Paradise, and silken garments, because they were patient. Reclining therein on raised thrones, they will see there neither the excessive heat of the sun, nor the excessive hitter cold, [as in Paradise there is no sun and no moon]. And the shade thereof is close upon them, and the bunches of fruit thereof will hang low within their reach. And amongst them will be passed round vessels of silver and cups of crystal, C/ stal-clear; made of silver They will determine the measure thereof according to their wishes.   (Qur ‘an 76: 12-16)