QR 3692 then EW 2523 at Barcelona
Lyon → Barcelona → Stuttgart
Timetable, Barcelona time
22:45QR 3692 from Lyon at the gate
20:40EW 2523 to Stuttgart leaves the gate
21 h 55 apart on the timetable, overnight
EW 2523 leaves 21 h 55 after QR 3692 arrives on the timetable: more than half a day, so not a connection we count.