FR 776 then FR 1527 at Barcelona
Venezia → Barcelona → Valletta
Timetable, Barcelona time
23:30FR 776 from Venezia at the gate
16:30FR 1527 to Valletta leaves the gate
17 h apart on the timetable, overnight
FR 1527 leaves 17 h after FR 776 arrives on the timetable: more than half a day, so not a connection we count.