It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both), and at times from Sayyiduna Sahl bin Sa'd (may Allah be pleased with him), that "Sayyiduna Jibril (peace be upon him) came to the Prophet (peace and blessings be upon him) and said: 'O Muhammad (peace and blessings be upon him)! Live as long as you wish, in the end you must pass away; love whomever you wish, you will certainly be parted from him; and do whatever you wish, you will be recompensed for it.' Then he said: 'O Muhammad (peace and blessings be upon him)! The honour of the believer lies in standing (in prayer) at night (tahajjud), and his dignity lies in being independent of people.'"
This hadith has a supporting narration (shahid), which Imam al-Hakim recorded through the route of Abu Hazim and declared sahih (authentic).