BT 151 then DY 1698 at Oslo
Riga → Oslo → Marrakesh
Timetable, Oslo time
07:40BT 151 from Riga at the gate
07:00DY 1698 to Marrakesh leaves the gate
23 h 20 apart on the timetable, overnight
DY 1698 leaves 23 h 20 after BT 151 arrives on the timetable: more than half a day, so not a connection we count.