FR 59 then QR 3646 at Barcelona
Napoli → Barcelona → Almeria
Timetable, Barcelona time
12:50FR 59 from Napoli at the gate
12:35QR 3646 to Almeria leaves the gate
23 h 45 apart on the timetable, overnight
QR 3646 leaves 23 h 45 after FR 59 arrives on the timetable: more than half a day, so not a connection we count.