حَدَّثَنَا سَعِيدٌ قَالَ: نا خَالِدُ بْنُ عَبْدِ اللَّهِ، عَنْ يُونُسَ، عَنِ الْحَسَنِ، قَالَ: «إِذَا ظَاهَرَ مِنِ امْرَأَتِهِ مِنْ ذِي مَحْرَمٍ فَهُوَ ظِهَارٌ»
Hasan (may Allah have mercy on him) said: "If someone pronounces zihar on his wife by comparing her to any of his mahram relatives, then this is (considered) zihar."