You cannot turn into a statue in Super Mario Bros. 3 (Wii Virtual Console or any version). No item or power-up enables this.
If you recall statue transformation in SMB3, it may be misremembered or from a different game.