It is narrated from Sayyiduna Anas (may Allah be pleased with him) that the Companions of the Prophet (peace and blessings be upon him) (may Allah be pleased with them) said: "O Messenger of Allah (peace and blessings be upon him), when we are in your company, we find in ourselves the (state of faith) that we love; but when we return to our families and mix with them, we find ourselves changed." At this the Prophet (peace and blessings be upon him) said: "If you were to remain constantly, even in solitude, in the state you are in when you are with me, the angels would shake hands with you until they shaded you openly with their wings. But (O Companions,) there is one hour (for remembrance and worship) and another hour (for worldly affairs)."
Imam al-Bukhari (may Allah have mercy on him) mentioned it in his Tarikh; and Amr bin Marzuq (may Allah have mercy on him) narrated it from Imran (may Allah have mercy on him), from Qatadah (may Allah have mercy on him), from Yazid bin Abdullah bin al-Shikhkhir (may Allah have mercy on him), from Sayyiduna Hanzalah al-Usaydi (may Allah be pleased with him), from the Prophet (peace and blessings be upon him).
Also, Ma'mar (may Allah have mercy on him) narrated it in the same way from Qatadah (may Allah have mercy on him), from Sayyiduna Anas (may Allah be pleased with him), from the Prophet (peace and blessings be upon him).
Musa (may Allah have mercy on him) narrated to me, saying: Ghassan bin Burzin (may Allah have mercy on him) narrated to us, saying: Thabit al-Bunani (may Allah have mercy on him) narrated to us, from Sayyiduna Anas (may Allah be pleased with him), from the Prophet (peace and blessings be upon him).
Imam al-Bukhari (may Allah have mercy on him) mentioned this in the biography (tarjamah) of Sayyiduna Hanzalah (may Allah be pleased with him).