The prohibited bribe whose giver and taker are cursed by the Prophet

A: What you did is an unlawful bribery and the Prophet (peace be upon him) has cursed the briber and the bribe recipient. Therefore, you must make Tawbah (repentance to Allah) and never do that again.If the project will not involve wronging others, lying, or violating people's properties, there is no harm in it and it is lawful for you.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.