Wa `alaykum as-salamu wa rahmatullahi wa barakatuh.
In the Name of Allah, Most Gracious, Most Merciful.
All praise and thanks are due to Allah, and peace and blessings be upon His Messenger.
In this Fatwa:
If the ghusl or the shower was to become pure because of janabah or menstruation, then as long as you have the intention for wudu’, you will actually achieve wudu’ and you do not need to do the actions of wudu’.
Sheikh Abu Eesa Niamatullah answers these questions in this Video:
Source: Faith IQ Facebook page.
Allah Almighty knows best.