The thigh being part of the awrah

Q: Suppose a man came and sat in the masjid. He had torn pants above the thigh. Another man saw him and was trying to correct him, suddenly he got the thought that if he is sure that awrah uncovred will be invalidating prayer? He could not get any hadith or ayah that time in his mind. He became uncertain. So should he correct or not?

Divorce via sms

Q: My husband send me divorce on sms. He give me divorce not in front of me. He just write I divorce you three times and send to my cell phone number by sms. Is divorce valid?

Should a woman with OCD get married?

Q: I am requesting advice on behalf of a friend?

She is a highly educated individual in her mid 30s. She has lived abroad, earns well and also financially assists extended family. However, she suffers from obsessive compulsive disorder and some traits of autism. Her dilemma is that she is keen to settle down and start a family. Kindly advise if in your opinion and from your knowledge of the deen, your wisdom and having most probably raised a family yourself whether she should consider marriage at all given her health condition or commit solely to her career and providing for her family, extended family and contributing to the community?

Working as a software engineer

Q: I have a job offer as a Software Engineer from a company who call themselves as Robot Advisory Company or Wealth Management company. The company is a software firm, they have developed software solution that manages wealth. It is Business to Business model (B2B). One part of their software is "Intelligent Advisor" whose customers are mainly banks, insurance companies, e-commerce, telecommunication companies and other financial institutions. "Intelligent Advisor is a proprietary algorithm-ranking tool for relationship managers to improve customer experience and that empowers relationship managers with the ability to advise their clients more efficiently".

My Question is, is it permissible to work for that company as they are giving service to banks. 

Seeking forgiveness from abortion

Q: A widowee man of 50 year old marries a unmarried woman of 40 years in 2010. After marriage with in 2 months woman gets pregnant. Due to age and other circumstances man request woman to abort the pregnancy. Thereafter 3-4 months tablets were taken to avoid pregnancy. But after that woman did not conceived. They lived together with adjustment with intermittent dispute. Performed Haj in 2013 and Umrah in 2017. Since Sept 2017 both husband and wife are staying separate from each other and heading for divorce. Now as per Islam man had done major sin of Allah by aborting in 2010. Man's questions are:

1. Before divorcing do it is mandatory/compulsory for him to get forgiveness from wife for his requested abortion in 2010?

2. Can wife demand any monetary compensation against his sin of not giving her rights to become mother?

3. Do man will not be forgiven by Allah after death if wife do not forgive for his sin of abortion?