There are two routes to it.
Finish the game once. When the last cutscene ends and the save screen appears, save over the slot you are using. Return to the Hayabusa village for the second time, coming through the teleporter, and go up into the building you are meant to enter. The blade will be stuck in the floor in the top left corner of the room.
Collect all fifty golden scarabs and take them back to Muramasa, the shopkeeper. This one only works on Hard mode; whether it carries over to Very Hard or Master Ninja is unconfirmed.