Never heard of it happening, could possibly be that when u masturbated you tighted your abes enough to where they hurt when u released them? It's the same with any other muscle, if you tighten them to long it'll hurt when u release. Try a more slow approach next time...