Chapter 23 of Leviticus states:
Seven weeks you shall count for yourself: from the time the sickle is put to the grain, you shall begin to count seven weeks. And you shall keep the Feast of Weeks for the Lord your God with a donation of your choosing, which you shall give the Lord your God.