FR 6301 then FR 3039 at Barcelona
Sofia → Barcelona → Prague
Timetable, Barcelona time
22:20FR 6301 from Sofia at the gate
17:20FR 3039 to Prague leaves the gate
19 h apart on the timetable, overnight
FR 3039 leaves 19 h after FR 6301 arrives on the timetable: more than half a day, so not a connection we count.