W6 2437 then R5 272 at Istanbul
Budapest → Istanbul → Amman
Timetable, Istanbul time
17:10W6 2437 from Budapest at the gate
16:15R5 272 to Amman leaves the gate
23 h 05 apart on the timetable, overnight
R5 272 leaves 23 h 05 after W6 2437 arrives on the timetable: more than half a day, so not a connection we count.