Miscellaneous

Storing pictures of animate objects on the phone

Q: I dislike pictures of animte objects because I know it is haraam. I usualy save pictures of hadeets and recipes and Duas on my phone. I was over taken by my nafs and saw a dress that I liked that was emailed to me. I decided to keep that picture as I can show the dress maker. The woman wearing the dress isn't modest as her top part is open. I won't make such a dress as I will make it in a modest way. My question is when I go to my pictures on my gallery on my phone all the pictures show on the screen together so the picture of the girl in the dress is next to a hadeeth picture that I have on my phone and it is all exposed on the same screen. I thought it was disrepectful but left it for a while. Now I really regret what I did. I deleted the picture but have I disrespected the Hadeeth in anyway and is that kufr?

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?