Sahih al-Bukhari, 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.
Sahih al-Bukhari, Volume 8, Book 73, Number 188:
Narrated Anas: A bedouin came to the Prophet and said, “O Allah’s Apostle! When will The Hour be established?” The Prophet said, “Wailaka (Woe to you), What have you prepared for it?” The bedouin said, “I have not prepared anything for it, except that I love Allah and H is Apostle.” The Prophet said, “You will be with those whom you love.” We (the companions of the Prophet ) said, “And will we too be so? The Prophet said, “Yes.” So we became very glad on that day. In the meantime, a slave of Al-Mughira passed by, and he was of the same age as I was. The Prophet said. “If this (slave) should live long, he will not reach the geriatric old age, but the Hour will be established.
Sahih Muslim, Book 032, Number 6380:
Anas b. Malik reported that a person came to Allah’s Messenger (may peace be upon him) and said to Allah’s Messenger: When would be the Last Hour? Thereupon he (the Holy Prophet) said: What preparation have you made for the Last Hour? He said: The love of Allah and of His Messenger (is my only preparation). Thereupon he (the Holy Prophet) said: You would be along with one whom you love. Anas said: Nothing pleased us more after accepting Islam than the words of Allah’s Apostle: You would be along with one whom you love. And Anas said. I love Allah and His Messenger and Abu Bakr and Umar, and I hope that I would be along with them although I have not acted like them.