FR 59 then FR 1786 at Barcelona
Napoli → Barcelona → Vilnius
Timetable, Barcelona time
12:50FR 59 from Napoli at the gate
09:50FR 1786 to Vilnius leaves the gate
21 h apart on the timetable, overnight
FR 1786 leaves 21 h after FR 59 arrives on the timetable: more than half a day, so not a connection we count.