Valmiki Ramayana Sundara Kanda Sarga 2 Shloka 39
Original Shlokaभूताश्चार्था विपद्यन्ते देशकालविरोधिताः। विक्लबं दूतमासाद्य तमः सूर्योदये यथा।।5.2.39।।
1 source checked for this shloka
विक्लबम् one who has no sense, दूतम् messenger, आसाद्य is after getting, देशकालविरोधिताः set in opposition to proper time and place, भूताः it plan, अर्था: the planned strategies, सूर्योदये at the time of Sunrise, तमः यथा like darkness, विपद्यन्ते will be destroyed.
'Just as darkness disappears at Sunrise, wellplanned strategies also fail at the hands of a thoughtless messenger when they are set in opposition to proper time and place.