MetMalaysia has issued a warning of thunderstorm, heavy rain and strong winds for Selangor, Sarawak and Sabah.