AK 5645 then QZ 131 at Kuala Lumpur
Miri → Kuala Lumpur → Medan
Timetable, Kuala Lumpur time
19:55AK 5645 from Miri at the gate
19:30QZ 131 to Medan leaves the gate
23 h 35 apart on the timetable, overnight
QZ 131 leaves 23 h 35 after AK 5645 arrives on the timetable: more than half a day, so not a connection we count.