TP 1137 then TP 1016 at Lisbon
Málaga → Lisbon → Madrid
Timetable, Lisbon time
15:25TP 1137 from Málaga at the gate
14:55TP 1016 to Madrid leaves the gate
23 h 30 apart on the timetable, overnight
TP 1016 leaves 23 h 30 after TP 1137 arrives on the timetable: more than half a day, so not a connection we count.