GQ 920 then IB 563 at Madrid
Athens → Madrid → Málaga
Timetable, Madrid time
13:20GQ 920 from Athens at the gate
11:25IB 563 to Málaga leaves the gatealso QR 8092, AA 8779
22 h 05 apart on the timetable, overnight
IB 563 leaves 22 h 05 after GQ 920 arrives on the timetable: more than half a day, so not a connection we count.