XY 223 then RJ 653 at Hamad
Riyadh → Doha → Amman
Timetable, Doha time
17:05XY 223 from Riyadh at the gate
13:50RJ 653 to Amman leaves the gate
20 h 45 apart on the timetable, overnight
RJ 653 leaves 20 h 45 after XY 223 arrives on the timetable: more than half a day, so not a connection we count.