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