"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.'" He said: So they remained (where they were)."
Sunan Ibn Majah Book 4, Hadith 51