TP 1015 then FR 1791 at Lisbon
Madrid → Lisbon → Luxembourg
Timetable, Lisbon time
15:20TP 1015 from Madrid at the gate
15:00FR 1791 to Luxembourg leaves the gate
23 h 40 apart on the timetable, overnight
FR 1791 leaves 23 h 40 after TP 1015 arrives on the timetable: more than half a day, so not a connection we count.