Both of these anecdotes appear in Stobaeus where they are attributed to Aelian
When Socrates was about to drink the hemlock, and those accompanying Crito asked him how he wished to be buried, he answered “however is easiest for you.”
ὁ Σωκράτης ἐπεὶ τὸ κώνειον ἔμελλε πίεσθαι, τῶν ἀμφὶ τὸν Κρίτωνα ἐρομένων αὐτὸν τίνα τρόπον ταφῆναι θέλει, “ὅπως ἂν ὑμῖν” ἀπεκρίνατο “ᾖ ῥᾷστον.”
“Noble Socrates reproached fathers who did not teach their sons and then, when they were destitute, took their sons to court and sued them as ungrateful because they did not support their parents. He said that the fathers were expecting something impossible: those who have not learned just actions are incapable of performing them”
Σωκράτης ὁ γενναῖος ᾐτιᾶτο τῶν πατέρων ἐκείνους, ὅσοι <μὴ> παιδεύσαντες αὑτῶν τοὺς υἱεῖς, εἶτα ἀπορούμενοι ἦγον ἐπὶ τὰς ἀρχὰς τοὺς νεανίσκους καὶ ἔκρινον αὐτοὺς ἀχαριστίας, ὅτι οὐ τρέφονται ὑπ᾿ αὐτῶν. εἶπε γὰρ ἀδύνατον ἀξιοῦν τοὺς πατέρας· μὴ γὰρ οἵους τε εἶναι τοὺς μὴ μαθόντας τὰ δίκαια ποιεῖν αὐτά.