If between the salām of the prayer and making up the sajdah a person does something that makes it obligatory for him to perform sajdatā al‑sahw – for example, he inadvertently speaks – then based on obligatory precaution, he must first make up the sajdah and then perform sajdatā al‑sahw.