The Messenger of Allah ﷺ said, "The farther one is from the mosque, the greater the reward."
حدثنا أبو بكر بن أبي شيبة حدثنا وكيع عن ابن أبي ذئب عن عبد الرحمن بن مهران عن عبد الرحمن بن سعد
قال رسول الله ﷺ الأبعد فالأبعد من المسجد أعظم أجرا
Its isnad is hasan. Abu Dawud narrated it in the Book of Prayer, chapter on the virtue of walking to prayer, 556, from the hadith of Ibn Abu Dhib through this same chain, and Hakim and Dhahabi graded it sahih.