Imam Dhahabi (RehmatuAllah Alihe) narrates:
قال قحط المطر عندنا بسمرقند في بعض الأعوام فاستسقى الناس مرارا فلم يسقوا فأتى رجل صالح معروف بالصلاح إلى قاضي سمرقند فقال له إني رأيت رأيا أعرضه عليك قال وما هو قال أرى أن تخرج ويخرج الناس معك إلى قبر الإمام محمد بن إسماعيل البخاري وقبره بخرتنك ونستسقي عنده فعسى الله أن يسقينا قال فقال القاضي نعم ما رأيت فخرج القاضي والناس معه واستسقى القاضي بالناس وبكى الناس عند القبر وتشفعوا بصاحبه فأرسل الله تعالى السماء بماء عظيم غزير أقام الناس من أجله بخرتنك سبعة أيام أو نحوها لا يستطيع أحد الوصول إلى سمرقند من كثرة المطر وغزارته وبين خرتنك وسمرقند نحو ثلاثة أميال
Translation: Once there was a drought in Samarqand, People tried their best, some said Salat al Istisqa but still it did not rain, A renowned righteous man known as Salih came to the Qadhi and said: In my opinion you along with your public should visit the grave of Imam Bukhari (Rahimuhullah), His grave is located in Khartank, We should (go near the Qabr) and ask for rain, Allah might give us rain then, The Qadhi said Yes to his opinion and then he along with the people went towards (the Qabr) and then He made a dua along with the people and people started to cry near the grave and started to make him a Waseela (i.e. Imam Bukhari). Allah Ta’ala (immediately) sent rainclouds. All people stayed in Khartank for about 7 days, none of them wanted to go back to Samarqand although the distance between Samarqand and Khartank was only 3 miles [As Siyar al Alam An Nabula Volume 12, Page No 469]