If someone has a doubt whether he has lost wudhu during salah or not what is the ruling on this? This doubt came to me in the last rakat just before doing salam but I havent heard any sound so I’m unsure

In this case your wudu is ok