FR 4584 then FR 1527 at Barcelona
Porto → Barcelona → Valletta
Timetable, Barcelona time
10:10FR 4584 from Porto at the gate
09:45FR 1527 to Valletta leaves the gate
23 h 35 apart on the timetable, overnight
FR 1527 leaves 23 h 35 after FR 4584 arrives on the timetable: more than half a day, so not a connection we count.