AT 987 then AT 230 at Casablanca
Tenerife South → Casablanca → Beijing
Timetable, Casablanca time
21:00AT 987 from Tenerife South at the gate
15:20AT 230 to Beijing leaves the gate
18 h 20 apart on the timetable, overnight
AT 230 leaves 18 h 20 after AT 987 arrives on the timetable: more than half a day, so not a connection we count.