FR 574 then FR 1527 at Barcelona
Bologna → Barcelona → Valletta
Timetable, Barcelona time
21:10FR 574 from Bologna at the gate
16:30FR 1527 to Valletta leaves the gate
19 h 20 apart on the timetable, overnight
FR 1527 leaves 19 h 20 after FR 574 arrives on the timetable: more than half a day, so not a connection we count.