GQ 721 then IB 840 at Athens
Tel Aviv → Athens → Madrid
Timetable, Athens time
09:15GQ 721 from Tel Aviv at the gate
07:15IB 840 to Madrid leaves the gate
22 h apart on the timetable, overnight
IB 840 leaves 22 h after GQ 721 arrives on the timetable: more than half a day, so not a connection we count.