V7 2164 then QR 3515 at Barcelona
Nantes → Barcelona → Madrid
Timetable, Barcelona time
20:10V7 2164 from Nantes at the gate
16:30QR 3515 to Madrid leaves the gate
20 h 20 apart on the timetable, overnight
QR 3515 leaves 20 h 20 after V7 2164 arrives on the timetable: more than half a day, so not a connection we count.