I was in the mosque and I saw a man with a short beard. I felt the impulse to laugh because I think I found the style of his beard funny. I told myself not to laugh because it might constitute making fun of Islam. I don't think I laughed but I think my expression changed I think I acted upon the waswas I got. Have I committed kufr?
And even if I did laugh, is there a difference between laughing at the style of his beard and laughing at the act of keeping a beard for the sake of Allah?