 god almighty said and satan confirmed his assumption about them. he also said indeed some assumptions are sins. and in mentioning some of them there is evidence that the rest of them are correct and obedient.
وقال الله تبارك وتعالى ولقد صدق عليهم إبليس ظنه . وقال إن بعض الظن إثم . وفي ذكره البعض دليل على أن سائر ذلك صواب وطاعة.