looks like a prolapse to me. If it hasn't gone in on its own by now, move him to a plain cage with damp paper towel so it doesn't dry out or get things stuck to it that could cause irritations. If still not back in on its own by tomorrow, I would take him to a vet.
-----
PHLdyPayne