Change into indirect: He said to me "Do you like rice"?
Explanation
The reporting verb "said to" changes to "asked" in indirect speech.The question "Do you like rice?" is a yes/no question, so we use "if" or "whether" in indirect speech.The verb "like" changes to "liked" (backshift in tense).