When a sheriff or other officer shall make a sale of real estate pursuant to a judgment, execution or order of any court, he shall make and sign an affidavit indorsed on or added to the conveyance of the real estate sold, to the following effect:
"I, A. B., sheriff, et cetera, do solemnly swear that the real estate described in this deed made to C. D., was sold by me by virtue of an execution (or as the case may be) as is therein recited, that the money ordered to be paid has not been paid, to my knowledge or belief, that the time and place of the sale of said real estate were duly advertised as required by law, and that the same was sold to a bona fide purchaser for the best price that could be obtained.
A. B., Sheriff.
Sworn before me, one of the, et cetera, on this day of, 19 A. D., and I having examined the deed above mentioned do approve the same and order it to be recorded as a good and sufficient conveyance of the real estate therein described."
The affidavit shall be taken before a judge of the superior court or an attorney-at-law of this state, for which taking the attorney before whom the affidavit is taken shall be entitled to a fee of $1.
If there has been a new sheriff elected and qualified, or where the sheriff may have been incapacitated by death, resignation or otherwise, after a sale made by the former or incapacitated sheriff, the affidavit required by this section may be made by such former or incapacitated sheriff or by the deputy of such former or incapacitated sheriff.
N.J.S. § 2A:61-9