EC 7618 then FR 9441 at Lisbon
Nice → Lisbon → Madrid
Timetable, Lisbon time
22:55EC 7618 from Nice at the gate
20:15FR 9441 to Madrid leaves the gate
21 h 20 apart on the timetable, overnight
FR 9441 leaves 21 h 20 after EC 7618 arrives on the timetable: more than half a day, so not a connection we count.