we have a horse at my barn that has a lot of sand in his intestines, he's very prone to colicing because of it
his owner has been testing his manure (exactly how p8ntcrazy said to) and has been using sand clear
http://www.horse.com/Farnam/Health/SandClear-BWL80.html to help him pass it