I have a few extra days while I am in the middle east this year and have decided to go to madinah for ziyarah. my plane lands in jedda and I will be staying the night there before taking the train to madinah and then taking a plane back home from madinah airport. Considering i may be staying in jedda for 1 night, do I have to go to makkah and perform umrah or can I just go straight to madinah, perform ziyarah and then fly to my home country without going to makkah and performing umrah?

That would be fine