FR 6266 then FR 133 at Barcelona
Edinburgh → Barcelona → Berlin
Timetable, Barcelona time
21:20FR 6266 from Edinburgh at the gate
16:55FR 133 to Berlin leaves the gate
19 h 35 apart on the timetable, overnight
FR 133 leaves 19 h 35 after FR 6266 arrives on the timetable: more than half a day, so not a connection we count.