stub (one's) toe against (something)
To forcefully and accidentally jam a single toe against a hard surface or object. I couldn't walk for nearly 10 minutes after stubbing my big toe against the bed post. We're always stubbing our toes against this darned coffee table!
stub one's toe against something
and stub one's toe on somethingto ram one's toe accidentally against some hard object. Don't stub your toe against that brick in the path. Claire stubbed her toe against one of the legs of the sofa. I stubbed my toe on the bottom step.