Language:
كتاب المساجد والجماعات
4  
The Book On The Mosques And The Congregations
(15)
Chapter: The Greater The Distance From The Mosque, The Greater The Reward
(15)
باب الأَبْعَدُ فَالأَبْعَدُ مِنَ الْمَسْجِدِ أَعْظَمُ أَجْرًا‏
Sunan Ibn Majah 785
It was narrated that Ibn 'Abbas said:
"The houses of the Ansar were far from the mosque and they wanted to move closer. Then the following Verse was revealed: 'We record that which they send before (them), and their traces.'" [Ya-Sin: 12] He said: So they remained (where they were)."
حَدَّثَنَا عَلِيُّ بْنُ مُحَمَّدٍ، حَدَّثَنَا وَكِيعٌ، حَدَّثَنَا إِسْرَائِيلُ، عَنْ سِمَاكٍ، عَنْ عِكْرِمَةَ، عَنِ ابْنِ عَبَّاسٍ، قَالَ كَانَتِ الأَنْصَارُ بَعِيدَةً مَنَازِلُهُمْ مِنَ الْمَسْجِدِ فَأَرَادُوا أَنْ يَقْتَرِبُوا فَنَزَلَتْ ‏{وَنَكْتُبُ مَا قَدَّمُوا وَآثَارَهُمْ}‏ قَالَ فَثَبَتُوا ‏.‏
Grade: Hasan (Darussalam)
Reference : Sunan Ibn Majah 785
In-book reference : Book 4, Hadith 51
English translation : Vol. 1, Book 4, Hadith 785