WTF is this?

What in the world is this? It came out along with the CM and as far as I can tell is hard? I'm 5 weeks postpartum if that could have something to do with it. Asked MIL and she says it could be a scab.