CA 866 then KE 852 at Beijing
Madrid → Beijing → Seoul Incheon
Timetable, Beijing time
11:40CA 866 from Madrid at the gate
10:40KE 852 to Seoul Incheon leaves the gate
23 h apart on the timetable, overnight
KE 852 leaves 23 h after CA 866 arrives on the timetable: more than half a day, so not a connection we count.