IB 5295 then FR 1786 at Barcelona
Palma de Mallorca → Barcelona → Vilnius
Timetable, Barcelona time
10:00IB 5295 from Palma de Mallorca at the gate
09:30FR 1786 to Vilnius leaves the gate
23 h 30 apart on the timetable, overnight
FR 1786 leaves 23 h 30 after IB 5295 arrives on the timetable: more than half a day, so not a connection we count.