Q: Assalamu alaikum. How to make wudu after tooth extraction? As you know, you shouldn’t rinse your mouth for 24 hours.
A: Wa ‘alaykum al-salam. If a medical professional advises you to avoid rinsing your mouth due to probable harm, because washing the mouth is an obligation, you must make tayammum in its place. Allah knows best.
Source: Sharh al-Muntaha