Don't teach Dhamma to those who can't appreciate it or aren't interested I read in an answer that AN 9.5 states:


  The best sort of kindly speech is to teach the Dhamma again and again
  to someone who is engaged and who lends an ear.


However, is there an opposite quote to this in the Pali Canon?

Does the Buddha say anywhere in the Pali Canon that we should not bother to teach the Dhamma to one who cannot appreciate it, or is not interested in listening to it?

What I'm asking for, is perhaps equivalent to the following quote from the Christian Bible in Matthew 7:6:


  Do not give dogs what is sacred; do not throw your pearls to pigs. If
  you do, they may trample them under their feet, and turn and tear you
  to pieces.
The Buddha not only stressed the importance of right speech but also the right time and occassion to say it:


  "So too, prince, such speech as the Tath›gata knows to be untrue, incorrect, and unbeneficial, and which is also unwelcome and disagreeable to others: such speech the Tath›gata does not utter. Such speech as the Tath›gata knows to be true and correct but unbeneficial, and which is also unwelcome and disagreeable to others: such speech the Tath›gata does not utter. Such speech as the Tath›gata knows to be true, correct, and beneficial, but which is unwelcome and disagreeable to others: the Tath›gata knows the time to use such speech.613 Such speech as the Tath›gata knows to be untrue, incorrect, and unbeneficial, but which is welcome and agreeable to others: such speech the Tath›gata does not utter. Such speech as the Tath›gata knows to be true and correct but unbeneficial, and which is welcome and agreeable to others: such speech the Tath›gata does not utter. Such speech as the Tath›gata knows to be true, correct, and beneficial, and which is welcome and agreeable to others: the Tath›gata knows the time to use such speech. Why is that? Because the Tath›gata has compassion for beings.” ~~ MN 58 ~~