FR 270 then FR 3078 at Barcelona
Milan → Barcelona → Lisbon
Timetable, Barcelona time
17:10FR 270 from Milan at the gate
16:45FR 3078 to Lisbon leaves the gate
23 h 35 apart on the timetable, overnight
FR 3078 leaves 23 h 35 after FR 270 arrives on the timetable: more than half a day, so not a connection we count.