Sand is not harmful to your fish, but you need to pay attention to some factors. “Silica-free” sand may contain calcium carbonate which is not so good for a freshwater tank.
Also, it would be advisable to avoid “dust-free” or “anti-dust” play sand. This type of sand is usually treated with various chemicals that can negatively affect the health of your underwater world.