No, no, no and NO!!
1. Check the door frame is plumb on the hanging side, and level across the head.
2. Measure the opening height and trim door to suit.
3. Now that the door will fit inside the opening at least height wise, and assuming the hanging side is plumb, offer the door to the...