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