Thanks for posting your query.
, blood and mucus in blood and abdominal pain
can be due to anal internal hemorrhoids
, anal fissure
, proctitis or Crohn's disease. So you need to visit your doctor for complete physical examination and test like stool analysis, proctoscopy or colonoscopy to rule out diseases.
Hope it helps.