A heart attached to the masjids

Among the seven under Allah's shade: one whose heart is attached to the masjids.

Narrated by Abu Hurairah

Seven will be shaded by Allah on the Day when there is no shade but His: a just ruler; a young man raised in the worship of Allah; a man whose heart is attached to the masjids; two men who love each other for Allah's sake; a man called by a woman of beauty and position who says "I fear Allah"; a man who gives charity so secretly that his left hand does not know what his right gave; and a man who remembered Allah in private and his eyes flowed with tears.

Sahih al-Bukhari 660, Sahih Muslim 1031

What this hadith teaches

The person whose heart is attached to the masjid thinks of the next prayer as soon as he leaves.

Reference and grade

Grade
Sahih: agreed upon by al-Bukhari and Muslim
Narrator
Abu Hurairah
Chapter
The masjid

The hadith in Arabic نص الحديث

سَبْعَةٌ يُظِلُّهُمُ اللَّهُ فِي ظِلِّهِ يَوْمَ لاَ ظِلَّ إِلاَّ ظِلُّهُ الإِمَامُ الْعَادِلُ، وَشَابٌّ نَشَأَ فِي عِبَادَةِ رَبِّهِ، وَرَجُلٌ قَلْبُهُ مُعَلَّقٌ فِي الْمَسَاجِدِ، وَرَجُلاَنِ تَحَابَّا فِي اللَّهِ اجْتَمَعَا عَلَيْهِ وَتَفَرَّقَا عَلَيْهِ، وَرَجُلٌ طَلَبَتْهُ امْرَأَةٌ ذَاتُ مَنْصِبٍ وَجَمَالٍ فَقَالَ إِنِّي أَخَافُ اللَّهَ‏.‏ وَرَجُلٌ تَصَدَّقَ أَخْفَى حَتَّى لاَ تَعْلَمَ شِمَالُهُ مَا تُنْفِقُ يَمِينُهُ، وَرَجُلٌ ذَكَرَ اللَّهَ خَالِيًا فَفَاضَتْ عَيْنَاهُ

Arabic text of Sahih al-Bukhari 660, as given on sunnah.com.