Bismillah
as salam alykom
Wael, u need to verify the flogging part, because flogging is applied on an unmarried male or female who gets engaged in an illegal sexual act.
But as for a filrting married male, we must actually define what filrting is? i mean what does the male do?