I'm not so sure that there is a "statute" that pertains to returning a deposit made to a developer for the purchase of real property. The contract between a buyer and seller (developer) should address exactly how and when a deposit may be returned. Failure to perform a specific condition, for example may entitle a buyer to a return of a deposit.
Another reason for entitlement may be a material change in the design, amenities, number of units, quality of construction, etc. Obtaining a refund of a deposit usually requires a good and valid reason. Of late, many law firms and attorneys have started to practice a legal specialty know as "Deposit Recovery".
Developers have thier contracts written by lawyers and the contract is written in favor of the developer, naturally. There may be valid grounds for a return or forfeit of a deposit.
SEEK COMPETENT LEGAL ADVICE.
Below is a link to Florida Statutes