Does anybody have/know of a resource where I can find/buy an editable contract that serves to set the "rules" between an agency (well, me as a consultant) and a freelancer?

I'd like to have some form of contract that protects me against "we can do that" people that are either constantly late, don't deliver, or don't communicate.

I need this to protect myself from this kind of situation as it's happened more than once now, and if the freelancer shirks his signed for responsibilities, I can legally take the work to someone that can finish it off.

Any advice appreciated.