Hazrat Aamir Sha'bi (may Allah have mercy on him) said: In divorce, intention is considered in hidden matters; in apparent matters, intention is not considered.
Hadith Referenceسنن سعید بن منصور / كتاب الطلاق / 2357
Hadith Takhrij«أخرجه سعيد بن منصور فى «سننه» ترقيم الدرالسلفية برقم:، 1180، وابن أبى شيبة فى «مصنفه» برقم: 18679»