FR 789 then FR 9441 at Lisbon
Bologna → Lisbon → Madrid
Timetable, Lisbon time
18:15FR 789 from Bologna at the gate
13:30FR 9441 to Madrid leaves the gate
19 h 15 apart on the timetable, overnight
FR 9441 leaves 19 h 15 after FR 789 arrives on the timetable: more than half a day, so not a connection we count.