Certainly We wrote in the Psalms, after the Torah: ‘Indeed My righteous servants shall inherit the earth.’ Qur'an 21:105

Imam al-Baqir (as) is reported to have said, “righteous servants” in this verse refers to the companions of Imam Mahdi (as) in the end times.