BA 248 then BA 668 at Heathrow
Rio De Janeiro → London → Marrakesh
Timetable, London time
08:20BA 248 from Rio De Janeiro at the gate
07:35BA 668 to Marrakesh leaves the gate
23 h 15 apart on the timetable, overnight
BA 668 leaves 23 h 15 after BA 248 arrives on the timetable: more than half a day, so not a connection we count.