Trimming the nails and cutting the hair do not invalidate Wudu'
Q: What is the ruling on
washing some parts of the body with soap, having a hair cut, or trimming the nails after performing Wudu’ (ablution)?
A: All praise be to Allah Alone, and peace and blessings be upon His Messenger, and his family and Companions.If a person performs Wudu’ and then washes some parts of their body, have their hair cut, or trim their nails, this does not invalidate Wudu’.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.