Knights seal dramatic final-ball victory after Hamza heroics