All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
If the sale contract takes place between the seller and the buyer, and the seller takes an amount of money from the buyer on the basis that if the buyer proceeds with the sale, it is part of the price, and if he does not proceed, then it belongs to the seller. This is known as the down payment sale, and the scholars differed in opinion on its ruling.
The majority of jurists ruled the prohibition of the advance payment unlike the scholars of the Hanbali School of jurisprudence who are of the view that it is permissible. A group of contemporary scholars chose this opinion, which is also the decision of the Islamic Fiqh Academy.
Accordingly, you may take this amount of money if it is agreed upon between you and the buyer.
Allah knows best.