In summary, there are sale-based contracts and investment-based contracts in Islamic finance.
The existence of minimum two parties, offer and acceptance, Shariah-compliant purpose, subject matter, and being executable should be the musts of a contract.