Narrated Anas:razi: - "A man asked the Prophet about the Hour (of the Day of Judgment) saying: ‘When will the Hour be?’
The Prophet :saw: replied: ‘What have you prepared for it?’
The man said: ‘Nothing, except that I love God and His Apostle.’
The Prophet said: ‘You will be with those you love.’
We had never been so glad as we were on hearing those words of the Prophet."
(Sahih Al-Bukhari, Volume 5, Hadith 37)
thats the full hadith
Volume 5, Book 57, Number 37:
Narrated Anas:
A man asked the Prophet about the Hour (i.e. Day of Judgment) saying, "When will the Hour be?" The Prophet said, "What have you prepared for it?" The man said, "Nothing, except that I love Allah and His Apostle." The Prophet said, "You will be with those whom you love." We had never been so glad as we were on hearing that saying of the Prophet (i.e., "You will be with those whom you love.") Therefore, I love the Prophet, Abu Bakr and 'Umar, and I hope that I will be with them because of my love for them though my deeds are not similar to theirs.