FR 4584 then FR 2233 at Barcelona
Porto → Barcelona → Nador
Timetable, Barcelona time
18:55FR 4584 from Porto at the gate
18:35FR 2233 to Nador leaves the gate
23 h 40 apart on the timetable, overnight
FR 2233 leaves 23 h 40 after FR 4584 arrives on the timetable: more than half a day, so not a connection we count.