FR 835 then FR 6300 at Barcelona
Vilnius → Barcelona → Sofia
Timetable, Barcelona time
10:30FR 835 from Vilnius at the gate
05:55FR 6300 to Sofia leaves the gate
19 h 25 apart on the timetable, overnight
FR 6300 leaves 19 h 25 after FR 835 arrives on the timetable: more than half a day, so not a connection we count.