It looks like she has a prolapse.
Take her in, try to clean her up a bit, give her a good soak in a bath with epsom salts. Gently clean off the poop and apply some hemorrhoid cream or honey and see if you can push it back in. Keep here isolated for about a day to make sure it doesn't come...