FR 789 then IB 1146 at Lisbon
Bologna → Lisbon → Madrid
Timetable, Lisbon time
07:50FR 789 from Bologna at the gate
20:45IB 1146 to Madrid leaves the gate
12 h 55 apart on the timetable
IB 1146 leaves 12 h 55 after FR 789 arrives on the timetable: more than half a day, so not a connection we count.