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