In most cases, you can replace mustard powder with mustard seeds, though it depends heavily on the dish in question. Dishes with a higher moisture content may have their consistency changed by the addition of the powder. Powdered spices also tend to lose their flavor more quickly when exposed to heat, so make sure to add them later in the cooking process.