I have congestive heart failure, stage 5 kidney failure and diabetes, what could be the cause of my extreme thigh muscle hardening?

Thigh. I would be concerned about a blood clot in the thigh veins or swelling caused by marked tissue fluid collection in view of the presence of advanced cardiac and kidney failure. In any event you should be examined by your cardiologist or nephrologist for this development.