Praise be to Allah.
Cheating is Haram, whether it is in buying and selling, or in exams, or any other matter, because of the general meaning of the words of the Prophet (blessings and peace of Allah be upon him): “Whoever cheats is not one of us.”Narrated by Muslim, 102 from the hadeeth of Abu Hurayrah (may Allah be pleased with him)
Shaykh Ibn ‘Uthaymeen (may Allah have mercy on him) said:
Cheating in exams is forbidden; in fact it is a major sin, especially since this cheating will lead to a number of things in the future, it will affect the person’s salary and position, and other things that are needed in order to succeed."(Fataawa Noor ‘ala ad-Darb, 24/2 )
For more information on the negative consequences of cheating, please see the answer to question no. 95776
Similarly, it is not permissible to cheat with the aim of pleasing one’s father or mother, because it is not permissible to seek to please them by disobeying Allah in any circumstances. Ibn Hibbaan narrated in his Saheeh (276) that ‘Aa’ishah (may Allah be pleased with her) said: The Messenger of Allah (blessings and peace of Allah be upon him) said: “Whoever seeks to please people by displeasing Allah, Allah will be displeased with him and cause people to be displeased with him.”
Classed as saheeh by al-Albaani in Saheeh at-Targheeb, 2/271.
Al-Bayhaqi narrated in Shu‘ab al-Eemaan (209) that Ibn Mas‘ood (may Allah be pleased with him) said: You cannot attain the pleasure of Allah if you try to please people by displeasing Allah.
Undoubtedly parents do not want their children to grow up cheating or to get good grades by means of cheating; rather they want their children to succeed by their own efforts.
The one who wants to succeed and get high grades has to be serious, work hard and revise, not cheat, because cheating is something that people dislike and the cheat is despised by all people. Cheating is contrary to truthfulness and honesty, and it is akin to lying and treachery, so the sensible person avoids it.
Once the Muslim understands that this is the nature of cheating in exams, and follows the example of those who study hard, he will recognise this blameworthy characteristic and avoid it.
With regard to the teacher allowing the female student to complete the answers to the exam at home, this is a betrayal of the trust that has been given to her. Moreover it is unfair to others who were not given this opportunity – even if we assume that the system allows it, which is something we cannot be certain about – and was a cause of cheating becoming easy for this student, by means of which she got high grades that she did not deserve.
Shaykh Ibn Baaz (may Allah have mercy on him) was asked about cheating in school tests, if the teacher is aware of it?
Cheating is Haram in exams just as it is Haram in transactions. No one has the right to cheat in tests in any subject, and if the teacher approves of that then he is a partner in the sin and betrayal."(Majmoo‘ Fataawa Ibn Baaz, 6/397)
See also the answer to question no. 136774
And Allah knows best.