Is it correct that everything dry is pure even if it has impurity on it?
If something impure becomes dry, it remains impure and is not purified by drying. However, the impurity does not transfer by touching it if the one touching it is also dry. And Allah the Almighty knows best.
Is it a condition for I‘tikaf to be performed in the mosque?
Yes, for I‘tikaf to be valid, it must be performed in a mosque. I‘tikaf is not valid if performed at home or elsewhere.
What is the ruling of Islam on swearing by Allah without intending to take an actual oath?
Praise be to Allah, and peace and blessings be upon our Master, the Messenger of Allah.
If someone swears by Allah without intending to take an actual oath, and without the firm resolve to bind themselves to it, then there is no sin or expiation (Kaffarah) required of them. Allah the Exalted says {what means}: 'God will not call you to account for thoughtlessness in your oaths, but for the intention in your hearts; and He is Oft-forgiving, Most Forbearing.' [Al-Baqarah/225]. However, a Muslim should avoid swearing oaths excessively so that their tongue does not become accustomed to it. Allah the Exalted says {what means}: 'And make not God’s (name) an excuse in your oaths against doing good, or acting rightly, or making peace between persons; for God is One Who heareth and knoweth all things.
' [Al-Baqarah/224]. And Allah the Exalted knows best."
Is a wife considered divorced if her husband refused to go to bed with her (for sexual intercourse) for two months?
A wife doesn`t get divorced no matter for how long her husband refuses to have sex with her, and she had better go to court.