Pray Asr When You Get To The City
Both were correct since both options are allowable and that is the reason Prophet (sws) didn’t rebuke either of them.