AK 867 then MH 864 at Kuala Lumpur
Krabi → Kuala Lumpur → Medan
Timetable, Kuala Lumpur time
16:45AK 867 from Krabi at the gate
15:50MH 864 to Medan leaves the gate
23 h 05 apart on the timetable, overnight
MH 864 leaves 23 h 05 after AK 867 arrives on the timetable: more than half a day, so not a connection we count.