FR 8385 then W4 6834 at Barcelona
Budapest → Barcelona → Torino
Timetable, Barcelona time
22:40FR 8385 from Budapest at the gate
13:05W4 6834 to Torino leaves the gate
14 h 25 apart on the timetable, overnight
W4 6834 leaves 14 h 25 after FR 8385 arrives on the timetable: more than half a day, so not a connection we count.