EC 7152 then IB 5112 at Barcelona
Milan → Barcelona → Lisbon
Timetable, Barcelona time
16:55EC 7152 from Milan at the gate
12:15IB 5112 to Lisbon leaves the gate
19 h 20 apart on the timetable, overnight
IB 5112 leaves 19 h 20 after EC 7152 arrives on the timetable: more than half a day, so not a connection we count.