The correct answer is D. no article.

The sentence is about a specific pencil that the speaker gave to the listener yesterday. Therefore, we do not need to use an article.

If we used an article, it would imply that we are talking about any pencil, or a pencil in general. For example, if we said "Can you please return the pencil I gave you yesterday?", this could mean that we are asking for any pencil that the listener has, not necessarily the specific pencil that the speaker gave them.

However, in this case, we are only asking for the specific pencil that the speaker gave to the listener yesterday. Therefore, we do not need to use an article.