FR 6823 then FR 6267 at Barcelona
Birmingham (UK) → Barcelona → Edinburgh
Timetable, Barcelona time
19:35FR 6823 from Birmingham (UK) at the gate
17:25FR 6267 to Edinburgh leaves the gate
21 h 50 apart on the timetable, overnight
FR 6267 leaves 21 h 50 after FR 6823 arrives on the timetable: more than half a day, so not a connection we count.