Assalamu alaykum wa rahmatulLahi wa barakatuh.

Years ago, I remember having read a hadith that goes along this way:

The Prophet (saws) and his followers were getting ready to face a battle. And before the battle the Prophet (saws) would have said something along this line to his men:

"Do not approach or go near that area with the tree during battle. Because that tree is home to a bird, and I do want to frighten it away from her home because of our battle."

Do you recognize this hadith and can you help me find the source?
Or is there no such hadith from the Prophet (saws)?

BarakalLahu fikum