FR 482 then FR 1786 at Barcelona
Málaga → Barcelona → Vilnius
Timetable, Barcelona time
00:35FR 482 from Málaga at the gate
16:10FR 1786 to Vilnius leaves the gate
15 h 35 apart on the timetable
FR 1786 leaves 15 h 35 after FR 482 arrives on the timetable: more than half a day, so not a connection we count.