FR 9441 then EC 1018 at Madrid
Lisbon → Madrid → Basel
Timetable, Madrid time
00:05FR 9441 from Lisbon at the gate
20:00EC 1018 to Basel leaves the gate
19 h 55 apart on the timetable
EC 1018 leaves 19 h 55 after FR 9441 arrives on the timetable: more than half a day, so not a connection we count.