SV 840 then 5J 502 at Kuala Lumpur
Jeddah → Kuala Lumpur → Manila
Timetable, Kuala Lumpur time
01:54SV 840 from Jeddah at the gate
01:055J 502 to Manila leaves the gate
23 h 11 apart on the timetable, overnight
5J 502 leaves 23 h 11 after SV 840 arrives on the timetable: more than half a day, so not a connection we count.