Mocking and ridiculing people
Q: Person A tells Person B the following joke. He says the memon was in Jahannam when he met his friend. His friend said to him that you were so pious, how did you end up here? The memon replied that I have a place in Jannah, but I put my house in Jannah on rent. Person B laughed at the joke. I am aware that in Surah Tauba that there is a verse which speaks about joking about Allah and his signs and this leading one to come out of the fold of Islaam. In the scenario presented above, do both A and B lose their Imaan and in the process invalidate their Nikah?