Allahumma-j'al lana biha qararan wa rizqan hasana, Allahumma barik lana fi madinatina.
اللهم اجعل لنا بها قراراً ورزقاً حسناً، اللهم بارك لنا في مدينتنا.
Quran/Hadith — Quran and Sunnah — General travel and entering-place supplications
الصحة: No single specific authentic formula required for entering Madinah