Free agent big man Chuck Hayes has agreed to sign a four-year, $22.3 million to return to Sacramento.

Hayes had his four-year, $21 million deal voided by the Kings on Monday when tests revealed an abnormality in his heart, yet he was cleared to play on Thursday morning after seeking a second opinion.

According to a source close to the situation, teams can only void contracts based on a failed physical for six days after it is signed.