RJ 165 then GQ 671 at Istanbul
Amman → Istanbul → Athens
Timetable, Istanbul time
13:05RJ 165 from Amman at the gate
10:30GQ 671 to Athens leaves the gate
21 h 25 apart on the timetable, overnight
GQ 671 leaves 21 h 25 after RJ 165 arrives on the timetable: more than half a day, so not a connection we count.