W4 6833 then QR 3623 at Barcelona
Torino → Barcelona → Salerno
Timetable, Barcelona time
14:45W4 6833 from Torino at the gate
07:10QR 3623 to Salerno leaves the gate
16 h 25 apart on the timetable, overnight
QR 3623 leaves 16 h 25 after W4 6833 arrives on the timetable: more than half a day, so not a connection we count.