FR 3040 then FR 133 at Barcelona
Prague → Barcelona → Berlin
Timetable, Barcelona time
21:15FR 3040 from Prague at the gate
11:50FR 133 to Berlin leaves the gate
14 h 35 apart on the timetable, overnight
FR 133 leaves 14 h 35 after FR 3040 arrives on the timetable: more than half a day, so not a connection we count.