TP 1013 then EC 7697 at Lisbon
Madrid → Lisbon → Milan
Timetable, Lisbon time
12:30TP 1013 from Madrid at the gate
11:50EC 7697 to Milan leaves the gate
23 h 20 apart on the timetable, overnight
EC 7697 leaves 23 h 20 after TP 1013 arrives on the timetable: more than half a day, so not a connection we count.