GQ 920 then IB 1031 at Madrid
Athens → Madrid → Almeria
Timetable, Madrid time
13:20GQ 920 from Athens at the gate
12:35IB 1031 to Almeria leaves the gatealso LA 5437, VY 5595, QR 6871
23 h 15 apart on the timetable, overnight
IB 1031 leaves 23 h 15 after GQ 920 arrives on the timetable: more than half a day, so not a connection we count.