Hadithcore
Sahih Muslim, 2766 c
sahih

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."

حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا ابْنُ أَبِي عَدِيٍّ، حَدَّثَنَا شُعْبَةُ، عَنْ قَتَادَةَ، بِهَذَا الإِسْنَادِ نَحْوَ حَدِيثِ مُعَاذِ بْنِ مُعَاذٍ وَزَادَ فِيهِ ‏

‏ فَأَوْحَى اللَّهُ إِلَى هَذِهِ أَنْ تَبَاعَدِي وَإِلَى هَذِهِ أَنْ تَقَرَّبِي ‏

‏ ‏.‏

References2 variants
In-Book Reference
Book 50, Hadith 56
USC-MSA web (English) reference
Book 37, Hadith 6664 (deprecated numbering scheme)