FR 9441 then IB 1007 at Madrid
Lisbon → Madrid → Málaga
Timetable, Madrid time
22:35FR 9441 from Lisbon at the gate
19:40IB 1007 to Málaga leaves the gate
21 h 05 apart on the timetable, overnight
IB 1007 leaves 21 h 05 after FR 9441 arrives on the timetable: more than half a day, so not a connection we count.