EC 3749 then LL 5112 at Barcelona
Milan → Barcelona → Lisbon
Timetable, Barcelona time
21:30EC 3749 from Milan at the gate
12:15LL 5112 to Lisbon leaves the gate
14 h 45 apart on the timetable, overnight
LL 5112 leaves 14 h 45 after EC 3749 arrives on the timetable: more than half a day, so not a connection we count.