QR 3704 then QR 3671 at Barcelona
Bari → Barcelona → Valladolid
Timetable, Barcelona time
16:50QR 3704 from Bari at the gate
12:20QR 3671 to Valladolid leaves the gate
19 h 30 apart on the timetable, overnight
QR 3671 leaves 19 h 30 after QR 3704 arrives on the timetable: more than half a day, so not a connection we count.