FR 776 then QR 3623 at Barcelona
Venezia → Barcelona → Salerno
Timetable, Barcelona time
13:15FR 776 from Venezia at the gate
07:10QR 3623 to Salerno leaves the gate
17 h 55 apart on the timetable, overnight
QR 3623 leaves 17 h 55 after FR 776 arrives on the timetable: more than half a day, so not a connection we count.