Salamualikum sheikh , once i was telling someone about the hadith regarding the benefits of camel urine while i was telling him he said " astaghfirullah " and so on and at that moment i laughed on it . after that i was feeling like i have commited kufr is this really kufr sheikh .
All perfect praise be to Allah, The Lord of the Worlds. I testify that there is none worthy of worship except Allah, and that Muhammad is His slave and Messenger.
What you did is not Kufr (disbelief), and in principle, a Muslim remains a Muslim and does not go out of the fold of Islam unless he commits an act of Kufr about which there is no doubt, and not based on something probable or doubtful.
It appears that this question stems from Waswaas (whispers), so we advise you to repel them, to not be preoccupied by them, and not ask about them.
Allah knows best.
You can search for fatwa through many choices