I wouldn't worry over it to be honest. A bit of sand being ingested won't hurt, but if it appears he's taking mouthfuls of it, that's when I'd be concerned. They naturally ingesst some when they groom anyways so it's not truly a concern. My hamsters have always had this odd habit