GQ 920 then UX 5043 at Madrid
Athens → Madrid → Málaga
Timetable, Madrid time
13:20GQ 920 from Athens at the gate
10:30UX 5043 to Málaga leaves the gate
21 h 10 apart on the timetable, overnight
UX 5043 leaves 21 h 10 after GQ 920 arrives on the timetable: more than half a day, so not a connection we count.