Hadith.2402 - It is narrated from Abdul Malik ibn A'yan who said
"I said to Abu Abdullah (as) 'I have been tested with this knowledge (of astrology). When I intend to fulfill a need and observe the rising star, if I see it as unfavorable, I sit and do not proceed. But if I see it as favorable, I proceed with my need.'
Imam (as) said to me: 'Do you accomplish it?'
I said: 'Yes.'
Imam (as) said: 'Burn your books.'"