If any judgment or execution, the execution having been recorded as required by law, by virtue whereof a sale shall be made of real estate, shall be reversed, such reversal shall only operate against the respondent on review, his heirs, executors and administrators, to compel compensation to be made to the party aggrieved to the full value of the real estate so sold, and shall not be given in evidence, or be of any force or avail against any bona fide purchaser under such judgment or execution; but such purchaser, his heirs and assigns, shall hold the real estate so bona fide purchased, notwithstanding such reversal, if it be after such purchase.
N.J.S. § 2A:17-44