Confused about what just came out of my vagina

I just wiped and this little brownish ball came out but like liquidy and it smelt terrible so I immediately just threw it in the toilet thinking it may have been left over poop if I wiped the wrong way . (Ew I know).

But then I realized that I hadn't pooped today only peed so it couldn't have been that.

Does that sound like a miscarriage ? Idk help