AV 2505 then EC 1018 at Madrid
Lisbon → Madrid → Basel
Timetable, Madrid time
20:20AV 2505 from Lisbon at the gatealso LO 4710, AD 7284, S4 8032
20:00EC 1018 to Basel leaves the gate
23 h 40 apart on the timetable, overnight
EC 1018 leaves 23 h 40 after AV 2505 arrives on the timetable: more than half a day, so not a connection we count.