A hadith like this has been narrated by 'Asim with the same chain of transmitters.
Sahih Muslim Book 5, Hadith 350
← Previous Hadith
There was a person among the Ansar whose house was situated at the farthest end of Medina, but he never in missed any prayer along with the Messenger of Allah (ﷺ). We felt pity for him and said to him: O, so and so, had you bought a donkey it would have saved you from the burning sand and would have saved you from the reptiles of the earth. He said: Listen I by Allah, I do not like my house to be situated by the side of Muhammad (ﷺ). I took (these words of his) ill and came to the Messenger of Allah (ﷺ) and informed him about (these words). He (the Holy Prophet) called him and he said exactly like that (which he had mentioned to Ubbay b. Ka'b), but made a mention of this (also) that he wanted a reward for his steps. Upon this the Messenger of Allah (ﷺ) said: In fact for you is the reward which you expect.
Sahih Muslim Book 5, Hadith 349 Next Hadith → Our houses were situated far away from the mosque; we, therefore, decided to sell our houses so that we may be able to come near the mosque. The Messenger of Allah (ﷺ) forbade us (to do so) and said: There is for every step (towards the mosque) a degree (of reward) for you.
Sahih Muslim Book 5, Hadith 351
Sahih Muslim Book 5, Hadith 349 Next Hadith → Our houses were situated far away from the mosque; we, therefore, decided to sell our houses so that we may be able to come near the mosque. The Messenger of Allah (ﷺ) forbade us (to do so) and said: There is for every step (towards the mosque) a degree (of reward) for you.
Sahih Muslim Book 5, Hadith 351