When Messenger of Allah ﷺ came to Medina, he ordered that a mosque be built. He said, "O Bani An- Najjar! Suggest me a price for the garden of yours." They replied, "By Allah, we will not ask its price except from Allah."
حَدَّثَنِي أَنَسُ بْنُ مَالِكٍ ؓ لَمَّا قَدِمَ رَسُولُ اللَّهِ ﷺ الْمَدِينَةَ أَمَرَ بِالْمَسْجِدِ وَقَالَ يَا بَنِي النَّجَّارِ ثَامِنُونِي بِحَائِطِكُمْ هَذَا قَالُوا لاَ وَاللَّهِ لاَ نَطْلُبُ ثَمَنَهُ إِلاَّ إِلَى اللَّهِ