Answered by: Maulana Muhammad Afzal Hussain
Is it better to go to Medina first when going for the Hajj?
بِسْمِ اللهِ الرَّحْمنِ الرَّحِيْم
In the name of Allah, the Most Gracious, the Most Merciful
The purpose of going to Madinah is mainly to visit the Prophet’s grave and Masjid-e-Nabawi. There are authentic narrations regarding the virtue of visiting the Prophet’s grave and praying in Masjid-e-Nabawi. It can be done before or after Hajj. Hazrat Ashraf Ali Thanvi said “If it is possible, a person should go to Madina and visit the blessed grave of the Prophet and Masjid Nabawi.
This could be done before or after performing Hajj.”
Only Allah knows best
Written by Maulana Muhammad Afzal Hussain
Checked and approved by Mufti Mohammed Tosir Miah
Darul Ifta Birmingham
 Heavenly Ornaments (Bahishti Zewar) by Maulana Ashraf Ali Thanvi, page: 286, Publisher: Darul Ishaat Karachi, Pakistan