Imran b. Hasin narrates: I was with Umar b. Khattab, who was sitting next to the Prophet (s.a.w.a.), and Ali b. Abi Taleb (a.s.) was sitting on the other side of the Prophet (s.a.w.a.).
Then the Prophet (s.a.w.a.) started reading the verse, “Is not He (best) who answers the distressed when he calls to Him, and removes the distress and makes you the successors in the earth. Is there any other god along with Allah? How little is it
that you reflect!”(Surah Naml (27):62).
Ali (a.s) jumped up suddenly.
The Prophet (s.a.w.a.) asked him – Why are you restless?
Ali (a.s) replied How can I not be when Allah says that he makes us the successors in the earth?
The Prophet (s.a.w.a.) replied Do not worry. I swear to Allah that no one loves you but a believer and no one hates you but a hypocritical apostate (Kafir).
Al-Amaali v 1 p 75 Al-Amaali p 307 Behaar al-Anwaar v 39 p 266