Imam Qastallani (Rahimahullah) the great Sharih of Bukhari sought help from Prophet (Peace be upon him) in Makkah let alone Madina.
ﻭﻟﻘﺪ ﻛﺎﻥ ﺣﺼﻞ ﻟﻰ ﺩاء ﺃﻋﻴﺎ ﺩﻭاﺅﻩ اﻷﻃﺒﺎء، ﻭﺃﻗﻤﺖ ﺑﻪ ﺳﻨﻴﻦ، ﻓﺎﺳﺘﻐﺜﺖ ﺑﻪ- ﺻﻠﻰ اﻟﻠﻪ ﻋﻠﻴﻪ ﻭﺳﻠﻢ- ﻟﻴﻠﺔ اﻟﺜﺎﻣﻦ ﻭاﻟﻌﺸﺮﻳﻦ ﻣﻦ ﺟﻤﺎﺩﻯ اﻷﻭﻟﻰ ﺳﻨﺔ ﺛﻼﺙ ﻭﺗﺴﻌﻴﻦ ﻭﺛﻤﺎﻧﻤﺎﺋﺔ ﺑﻤﻜﺔ ﺯاﺩﻫﺎ اﻟﻠﻪ ﺷﺮﻓﺎ، ﻭﻣﻦ ﻋﻠﻰ ﺑﺎﻟﻌﻮﺩ ﻓﻰ ﻋﺎﻓﻴﺔ ﺑﻼ ﻣﺤﻨﺔ، ﻓﺒﻴﻨﺎ ﺃﻧﺎ ﻧﺎﺋﻢ ﺇﺫ ﺟﺎء ﺭﺟﻞ ﻣﻌﻪ ﻗﺮﻃﺎﺱ ﻳﻜﺘﺐ ﻓﻴﻪ: ﻫﺬا ﺩﻭاء ﻟﺪاء ﺃﺣﻤﺪ ﺑﻦ اﻟﻘﺴﻄﻼﻧﻰ ﻣﻦ اﻟﺤﻀﺮﺓ اﻟﺸﺮﻳﻔﺔ ﺑﻌﺪ اﻹﺫﻥ اﻟﺸﺮﻳﻒ اﻟﻨﺒﻮﻯ، ﺛﻢ اﺳﺘﻴﻘﻈﺖ ﻓﻠﻢ ﺃﺟﺪ ﺑﻰ- ﻭاﻟﻠﻪ- ﺷﻴﺌﺎ ﻣﻤﺎ ﻛﻨﺖ ﺃﺟﺪﻩ، ﻭﺣﺼﻞ اﻟﺸﻔﺎء ﺑﺒﺮﻛﺔ اﻟﻨﺒﻰ- ﺻﻠﻰ اﻟﻠﻪ ﻋﻠﻴﻪ ﻭﺳﻠﻢ-
Imam Qastallani (rah) said in his maginificent book of Seerah al-Muwahib al-Laduniya:
I (Imam Qastallani) got so ill once that the doctors failed to provide any cure and I remained like this for many years. “I SOUGHT HELP FROM PROPHET (PEACE BE UPON HIM)” on 28th Jamad ul Awwal 893 AH when I came to Makkah Mukarmah, may Allah increase the status of this city and May Allah do great favour on me by granting me another chance of visiting it without any difficulty. I went to sleep and then a man came with a piece of paper which said: This is a medicine for the “disease of Ahmed bin Qastalani” through the “IZN-E-NABWI” and from the court of Allah. When I woke up “I TAKE AN OATH UPON ALLAH THAT I FOUND PERFECT CURE AND I GOT CURED DUE TO BLESSING OF PROPHET (PEACE BE UPON HIM)” [Imam al-Qastallani in his magnificent al-Muwahib al-Laduniya (3/419), Published by Dar ul Kutb al iLmiyyah, Beirut, Lebanon]