FR 4586 then EW 2523 at Barcelona
Porto → Barcelona → Stuttgart
Timetable, Barcelona time
21:10FR 4586 from Porto at the gate
19:55EW 2523 to Stuttgart leaves the gate
22 h 45 apart on the timetable, overnight
EW 2523 leaves 22 h 45 after FR 4586 arrives on the timetable: more than half a day, so not a connection we count.