Salam. Is it considered gambling if a friend offers to pay me money, as long as I achieve a certain score on a test. The test in this scenario is mine, we are simply measuring my skill on the subject and test. Since this isn't exactly a game of chance, is it haram? I do not have to pay him as I am the only one taking the test, and I did not ask him to pay me, he simply offered. I only receive the money based on my performance, which is based on my hard work.