FR 6301 then LA 5778 at Barcelona
Sofia → Barcelona → Valletta
Timetable, Barcelona time
23:15FR 6301 from Sofia at the gate
11:25LA 5778 to Valletta leaves the gate
12 h 10 apart on the timetable, overnight
LA 5778 leaves 12 h 10 after FR 6301 arrives on the timetable: more than half a day, so not a connection we count.