Turmeric is typically added before cooking rice, directly incorporating it into the cooking liquid ensures even distribution and imparts a vibrant color and flavor to the rice during the cooking process. Adding turmeric beforehand allows the spice to infuse its essence into the rice, enhancing both its visual appeal and taste.