Reference for Menachot 1:1
כָּל הַמְּנָחוֹת שֶׁנִּקְמְצוּ שֶׁלֹּא לִשְׁמָן, כְּשֵׁרוֹת, אֶלָּא שֶׁלֹּא עָלוּ לַבְּעָלִים מִשּׁוּם חוֹבָה, חוּץ מִמִּנְחַת חוֹטֵא, וּמִנְחַת קְנָאוֹת. מִנְחַת חוֹטֵא וּמִנְחַת קְנָאוֹת שֶׁקְּמָצָן שֶׁלֹּא לִשְׁמָן, נָתַן בַּכְּלִי, וְהִלֵּךְ, וְהִקְטִיר שֶׁלֹּא לִשְׁמָן, אוֹ לִשְׁמָן וְשֶׁלֹּא לִשְׁמָן, אוֹ שֶׁלֹּא לִשְׁמָן וְלִשְׁמָן, פְּסוּלוֹת. כֵּיצַד לִשְׁמָן וְשֶׁלֹּא לִשְׁמָן, לְשֵׁם מִנְחַת חוֹטֵא וּלְשֵׁם מִנְחַת נְדָבָה, אוֹ שֶׁלֹּא לִשְׁמָן וְלִשְׁמָן, לְשֵׁם מִנְחַת נְדָבָה וּלְשֵׁם מִנְחַת חוֹטֵא:
All grain offerings from which handfuls were taken not for their own sake are valid, but they do not fulfill the obligation of their owners. [This is true] except for the grain offering of a sinner or the grain offering brought out of jealousy [by the suspected adulteress]. The grain offerings of a sinner and of jealousy from which handfuls were collected not for their own sake, or that were put into a vessel, or that were brought [to the altar], or were burned not for their own sake, or one [action was done] for their own sake and the other not or their own sake, or one [action was done] not for their own sake and one [was done] for their own sake, they are invalid. What [is meant by] ["an action done] for their own sake and [one done] not for their own sake?" For the sake of the grain offering of the sinner and for the sake of the voluntary grain offering. [And what is meant by "an action done] not for their own sake and [one done] for their own sake"? With the intent of a voluntary grain offering and with the intent of a grain offering of a sinner.