Talha Bin Ubaidullah (may Allah be pleased with him) reported about two men who came to the Prophet (peace be upon him) and accepted Islam at the same time.

One of them would part take in Jihad more than the other. He was martyred in one of the battles he fought. The other man lived for another year, and then he too passed away.

Talha said, “I saw in my dream that I was at the door of Paradise when behold, I was with both of them (the two men). Someone came out of Paradise and allowed the man who passed away later to enter first.

Then he came out again and allowed the martyred one to enter. Then he returned and said to me, ‘Go back, for your time has not come yet.’ “

Talha woke up and began to inform others about this and they were all surprised. When they informed the Messenger of Allah (peace be upon him) about it, he said, “What are you surprised about?” They said, “O Messenger of Allah! Out of them both, this one strove harder (in Jihad) then he was martyred, but the other one was entered into Paradise before him.”

The Messenger of Allah (peace be upon him) said, “Did he not remain behind him for one year?” They said, “Yes (he did).”

He said, “Did he not reach Ramadan, fast and pray with such and such number of prostrations in the year?” They said, “Yes.”

The Messenger of Allah (peace be upon him) said, “So the difference between them is greater than what is between the heavens and the earth.” (Ibn Majah, 2/345-346, authenticated by Al-Albani)