As you activate a ninjutsu ability, you reveal the Ninja card in your hand and return the attacking creature to its owner’s hand. The Ninja card stays revealed and isn’t put onto the battlefield until the ability resolves. If it leaves your hand before then, it won’t enter the battlefield at all.