Buy And When in the WEB
2 verses of the World English Bible have both "buy" and "when".
Genesis 43:2 When they had eaten up the grain which they had brought out of Egypt, their father said to them, “Go again, buy us a little more food.”
Matthew 14:15 When evening had come, his disciples came to him, saying, “This place is deserted, and the hour is already late. Send the multitudes away, that they may go into the villages, and buy themselves food.”