The Book Pertaining to Repentance and Exhortation to Repentance (Kitab Al-Tauba)
Muslim :: Book 37 : Hadith 6664
This hadith has been narrated on the authority of Qatida with the same chain of transmitters but (with this variation of wording):" Allah commanded the earth (from where) he wanted to come out to move itself away and to the other earth (where he wanted to go) to draw nearer."