FR 775 then FR 3146 at Barcelona
Torino → Barcelona → Oujda
Timetable, Barcelona time
17:20FR 775 from Torino at the gate
13:50FR 3146 to Oujda leaves the gate
20 h 30 apart on the timetable, overnight
FR 3146 leaves 20 h 30 after FR 775 arrives on the timetable: more than half a day, so not a connection we count.