Language:
كتاب الاستسقاء
15  
Invoking Allah for Rain (Istisqaa)
(27)
Chapter: Earthquakes and (other) signs (of the Day of Judgement)
(27)
باب مَا قِيلَ فِي الزَّلاَزِلِ وَالآيَاتِ
Sahih al-Bukhari 1037

Narrated Ibn `Umar:

(The Prophet) said, "O Allah! Bless our Sham and our Yemen." People said, "Our Najd as well." The Prophet again said, "O Allah! Bless our Sham and Yemen." They said again, "Our Najd as well." On that the Prophet (ﷺ) said, "There will appear earthquakes and afflictions, and from there will come out the side of the head of Satan."

حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى، قَالَ حَدَّثَنَا حُسَيْنُ بْنُ الْحَسَنِ، قَالَ حَدَّثَنَا ابْنُ عَوْنٍ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، قَالَ اللَّهُمَّ بَارِكْ لَنَا فِي شَامِنَا وَفِي يَمَنِنَا‏.‏ قَالَ قَالُوا وَفِي نَجْدِنَا قَالَ قَالَ اللَّهُمَّ بَارِكْ لَنَا فِي شَامِنَا وَفِي يَمَنِنَا‏.‏ قَالَ قَالُوا وَفِي نَجْدِنَا قَالَ قَالَ هُنَاكَ الزَّلاَزِلُ وَالْفِتَنُ، وَبِهَا يَطْلُعُ قَرْنُ الشَّيْطَانِ‏.‏
Reference : Sahih al-Bukhari 1037
In-book reference : Book 15, Hadith 32
USC-MSA web (English) reference : Vol. 2, Book 17, Hadith 147
  (deprecated numbering scheme)