FR 9440 then TP 1138 at Lisbon
Madrid → Lisbon → Málaga
Timetable, Lisbon time
21:15FR 9440 from Madrid at the gate
21:00TP 1138 to Málaga leaves the gate
23 h 45 apart on the timetable, overnight
TP 1138 leaves 23 h 45 after FR 9440 arrives on the timetable: more than half a day, so not a connection we count.