as far as I know, volcanic rock is perfectly okay for a fish tank. However, a lot of it is very jagged and sharp so be careful. Definitely give it a wash and maybe soak it in some water for a few days
just to add, you have to remember that because of the minerals in many rocks, it can alter your pH. So fuel rocks have been in the water for a while, check your pH to see what it's doing. Many people use rock as a buffer to lower the pH. so if you've already got a very low pH, keep a close eye on your pH for quite a while