Prophet yusuf عليه السلام prayed:
'...and make me join the righteous. [12:101]'
The above supplications indicate that the company of the righteous is such a great blessing that even the Holy Prophets (SM) cannot do without, as a result they pray for it.
وَادْخُلِي جَنَّتِي (and enter My Paradise.....89:30]. In this verse, Paradise is attributed to Allah, and Allah said 'My Paradise'. This is a great honour, and indicates that Paradise will not only have all sorts of eternal comfort, but above all it is a place of Allah's pleasure.
The preceding verses describe the reward of the believers in such a manner that on behalf of Allah, the angels will address their souls honourably and in a befitting manner, as in the verses. It is not clear when they will be addressed. Some commentators say that they will be addressed on the Day of Reckoning after the reckoning is over. The context of the verses confirms this. The punishment of the unbelievers was described above. That will take place in the Hereafter after the Judgement has been passed. It is obvious that the believers will be addressed at the same time. Other scholars indicate that the believers will be addressed in this world at the time of death. Many authentic traditions bear testimony to the veracity of this view. Ibn Kathir, on the other hand, reconciles the apparently conflicting statements thus: Allah will address the soul of the believers twice with these words. Once at the time of death, and again on the Day of Judgement.
Sayyidna 'Ubadah Ibn Samit' رضي الله عنه narration cited earlier supports the view that the address will be at the time of death. In a lengthy narration of Sayyidna Abu Hurairah رضي الله عنه, recorded in Musnad of Ahmad, Nasa'i and Ibn Majah, the Holy Prophet (SM) said: "When death approaches a believer, the angels of mercy bring to him a piece of white silk and say:
come out [from this body], well-pleased and well-pleasing, to Divine mercy and to the eternal comforts of Paradise' [to the end of narration.]" Sayyidna Ibn 'Abbas رضي الله عنه says that one day he recited the verse يَا أَيَّتُهَا النَّفْسُ الْمُطْمَئِنَّةُ ' (O contented soul) in the presence of the Holy Prophet (SM), Abu Bakr رضي الله عنه who was present in the assembly, said: "O Allah's Messenger, what a fine address and honour! "The Holy Prophet (SM) said: "Behold,the angel will address you thus after your death."
A Few Strange Incidents
Sa'id Ibn Jubair رضي الله عنه reports that Sayyidna Ibn 'Abbas رضي الله عنه passed away in Taif. After the funeral was prepared, a strange bird, the like of which was never seen before, came and entered the body, but no one saw it coming out of it. When it was lowered into the grave for burial, an invisible voice was heard reciting from the side of the grave: يَا أَيَّتُهَا النَّفْسُ الْمُطْمَئِنَّةُ Everyone looked around, but could not find anyone. Another incident is recorded by Hafiz Tabarani in his book Eta-ul-'Aja'ib. He narrates with his chain of authorities, an incident about Fattan Ibn Razin Abi Hashim that once they were imprisoned in a Roman city. They were presented before their king. The king was an infidel. He coerced them to adopt his religion, and threatened them that if anyone refuses to comply with his command, he would be beheaded. They were a few people. Three of them feared for their lives, adopted his religion and thus became apostates. The fourth person refused to adopt the king's religion. He was beheaded and his head was thrown into a nearby river. When it was thrown, the head went to the bottom of the river. Later, it emerged from the water and came to the surface. Then it looked at the other three persons, and calling each one of them by name, recited:
يَا أَيَّتُهَا النَّفْسُ الْمُطْمَئِنَّةُ ارْجِعِي إِلَىٰ رَبِّكِ رَاضِيَةً مَّرْضِيَّةً فَادْخُلِي فِي عِبَادِي وَادْخُلِي جَنَّتِي
"O contented soul,  come back to your Lord, well-pleased, well-pleasing.  So, enter among My (special) servants,  and enter My Paradise."
After that it dived back into the water.
This was an unusual incident which everyone witnessed and heard. When the Christians of that place witnessed this, almost all of them embraced Islam which shook up the king's throne. The three persons who had become apostates reverted to Islam. Caliph Abu Ja'far Manyur had them all released from their [enemy's] prison.